/* ============================================
   GPR CLOUD — Marketing Website Styles
   Aesthetic: Industrial-Refined Automotive
   ============================================ */

:root {
  /* Core palette — Dark / Black / Red / White */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #181818;
  --bg-card-hover: #222222;
  --bg-elevated: #0e0e0e;

  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;

  --accent-blue: #dc2626;
  --accent-blue-glow: rgba(220, 38, 38, 0.3);
  --accent-orange: #ff3b3b;
  --accent-orange-glow: rgba(255, 59, 59, 0.25);
  --accent-green: #10b981;
  --accent-red: #dc2626;
  --accent-purple: #ff4d4d;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.12);

  --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0e0808 100%);
  --gradient-card: linear-gradient(145deg, rgba(28, 28, 28, 0.6), rgba(14, 14, 14, 0.9));
  --gradient-cta: linear-gradient(135deg, #dc2626, #b91c1c);
  --gradient-orange: linear-gradient(135deg, #ef4444, #dc2626);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow-blue: 0 0 40px rgba(220, 38, 38, 0.12);
  --shadow-glow-orange: 0 0 40px rgba(255, 59, 59, 0.12);

  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --nav-height: 100px;
  --container-max: 1200px;
  --container-wide: 1400px;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-display);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.45);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
  background: rgba(255,255,255,0.03);
}

.btn--ghost:hover {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  background: rgba(220, 38, 38, 0.08);
}

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

.btn--outline:hover {
  border-color: var(--accent-blue);
  background: rgba(220, 38, 38, 0.08);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: all 0.4s ease;
  background: transparent;
}

.nav--scrolled {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo-img {
  height: 90px;
  width: auto;
  filter: brightness(1.1);
}

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

.nav__link {
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

.nav__link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav__cta-btn {
  padding: 10px 24px;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.25);
}

.nav__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.4);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(220, 38, 38, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(255, 59, 59, 0.04) 0%, transparent 50%),
              linear-gradient(to bottom, transparent 60%, var(--bg-primary) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: 32px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero__title-accent {
  background: linear-gradient(135deg, #dc2626 0%, #ff4d4d 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.hero__stat { text-align: center; }

.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.hero__stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-blue);
  font-family: var(--font-mono);
}

.hero__stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-medium);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 3s ease-in-out infinite;
}

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

.hero__scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
  opacity: 0.5;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ============ SECTION SHARED ============ */
section { padding: 120px 0; position: relative; }

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

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

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ FEATURES ============ */
.features {
  background: var(--bg-secondary);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

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

.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--accent-blue)), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.feature-card:hover::before { opacity: 1; }

.feature-card--wide { grid-column: span 2; }

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.08);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--accent, var(--accent-blue));
  position: relative;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.feature-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  transition: gap 0.3s ease;
}

.feature-card__link:hover { gap: 8px; }

.feature-card__tags span {
  padding: 4px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ============ WORKFLOW SECTION ============ */
.workflow {
  background: var(--bg-primary);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.workflow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.workflow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.workflow__step {
  flex: 1;
  max-width: 320px;
  text-align: center;
}

.workflow__step-number {
  width: 32px;
  height: 32px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  margin: 0 auto 16px;
}

.workflow__step-screen {
  background: #0f1115;
  border: 1px solid #2a3040;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.workflow__step-screen:hover {
  border-color: rgba(220, 38, 38, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px rgba(220,38,38,0.08);
}

.workflow__step-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow__step-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 8px;
}

/* Workflow screen internals */
.wf-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid #1e2230;
  background: #171a21;
}

.wf-header-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-header-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #e7eaf1;
  flex: 1;
}

.wf-timer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #f59e0b;
  background: rgba(245,158,11,0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.wf-live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.wf-badge-green {
  font-size: 0.62rem;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Vehicle plate */
.wf-plate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 12px 14px 4px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  max-width: 140px;
}

.wf-plate-flag {
  background: #003da5;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 4px 5px;
}

.wf-plate-number {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a1a1a;
  padding: 3px 8px;
  letter-spacing: 0.5px;
}

.wf-vehicle-info {
  font-size: 0.68rem;
  color: #6b7280;
  padding: 2px 14px 10px;
  border-bottom: 1px solid #1e2230;
}

/* Checklist */
.wf-checklist {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wf-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: #6b7280;
  padding: 4px 0;
}

.wf-check--done {
  color: #9ca3af;
}

.wf-check--done span:first-of-type {
  text-decoration: line-through;
  opacity: 0.7;
}

.wf-check--active {
  color: #e7eaf1;
  font-weight: 600;
}

.wf-check-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #f59e0b;
  background: rgba(245,158,11,0.15);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.wf-check-empty {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid #333;
  flex-shrink: 0;
}

.wf-check-qty {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #4b5563;
}

/* Notes */
.wf-notes {
  margin: 0 14px 10px;
  padding: 8px 10px;
  background: #171a21;
  border: 1px solid #1e2230;
  border-radius: 6px;
}

.wf-notes-label {
  font-size: 0.55rem;
  color: #4b5563;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wf-notes-text {
  font-size: 0.68rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* Photos */
.wf-photos {
  display: flex;
  gap: 6px;
  padding: 0 14px 12px;
}

.wf-photo {
  width: 36px;
  height: 28px;
  background: #1e2230;
  border: 1px solid #2a3040;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
}

.wf-photo--add {
  border: 1px dashed rgba(220,38,38,0.3);
  background: rgba(220,38,38,0.05);
  color: #dc2626;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Connector */
.workflow__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 180px;
  flex-shrink: 0;
  width: 80px;
}

.workflow__connector-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, transparent, #dc2626, transparent);
}

.workflow__connector-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: #dc2626;
  white-space: nowrap;
  letter-spacing: 1px;
}

/* Bureau jobs */
.wf-bureau-jobs {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wf-bureau-job {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #171a21;
  border: 1px solid #1e2230;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.wf-bureau-job--active {
  border-left-color: #f59e0b;
  background: #1a1d24;
}

.wf-bureau-job-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wf-bureau-job-info { flex: 1; min-width: 0; }

.wf-bureau-job-plate {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e7eaf1;
}

.wf-bureau-job-detail {
  font-size: 0.6rem;
  color: #6b7280;
}

.wf-bureau-job-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  color: #6b7280;
  font-family: var(--font-mono);
}

.wf-progress-bar {
  width: 40px;
  height: 3px;
  background: #1e2230;
  border-radius: 2px;
  overflow: hidden;
}

.wf-progress-bar div {
  height: 100%;
  background: #f59e0b;
  border-radius: 2px;
}

.wf-progress-bar--done div {
  background: #22c55e;
}

.wf-bureau-action {
  padding: 10px 14px 14px;
}

.wf-bureau-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(220,38,38,0.3);
}

.wf-bureau-action-hint {
  font-size: 0.58rem;
  color: #4b5563;
  text-align: center;
  margin-top: 6px;
}

/* Invoice lines */
.wf-invoice-lines {
  padding: 10px 14px;
}

.wf-invoice-line {
  display: grid;
  grid-template-columns: 1fr 40px 50px;
  padding: 5px 0;
  font-size: 0.68rem;
  color: #9ca3af;
  border-bottom: 1px solid #1e2230;
}

.wf-invoice-line:last-child { border-bottom: none; }

.wf-invoice-line--header {
  color: #4b5563;
  font-weight: 700;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.wf-invoice-total {
  padding: 0 14px 10px;
  border-top: 1px solid #1e2230;
  margin: 0 14px;
  padding-top: 8px;
}

.wf-invoice-total > div {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #6b7280;
  padding: 2px 0;
}

.wf-invoice-total-final {
  font-weight: 800 !important;
  color: #e7eaf1 !important;
  font-size: 0.85rem !important;
  font-family: var(--font-mono);
  border-top: 1px solid #2a3040;
  padding-top: 6px !important;
  margin-top: 4px;
}

.wf-invoice-total-final span { color: #e7eaf1 !important; }

.wf-invoice-actions {
  padding: 0 14px 14px;
}

.wf-btn-send {
  display: block;
  text-align: center;
  padding: 10px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(34,197,94,0.3);
}

/* Workflow highlights */
.workflow__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.workflow__highlight {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.workflow__highlight-icon {
  width: 44px;
  height: 44px;
  background: rgba(220,38,38,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.workflow__highlight strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.workflow__highlight p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Workflow responsive */
@media (max-width: 900px) {
  .workflow__steps {
    flex-direction: column;
    align-items: center;
  }

  .workflow__step {
    max-width: 360px;
    width: 100%;
  }

  .workflow__connector {
    flex-direction: row;
    padding-top: 0;
    width: auto;
    padding: 16px 0;
  }

  .workflow__connector-line {
    width: 20px;
    height: 2px;
  }

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

/* ============ SCREENSHOTS ============ */
.screenshots {
  background: var(--bg-primary);
  overflow: hidden;
}

.screenshots__showcase {
  perspective: 1200px;
}

.screenshots__browser {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), var(--shadow-glow-blue);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.screenshots__browser:hover {
  transform: rotateX(2deg) scale(1.01);
}

.screenshots__browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.screenshots__browser-dots {
  display: flex;
  gap: 7px;
}

.screenshots__browser-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.screenshots__browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 6px 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.screenshots__browser-content {
  padding: 0;
}

/* Mockup UI */
.screenshots__mockup {
  display: flex;
  min-height: 420px;
}

.mockup__sidebar {
  width: 60px;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 4px;
}

.mockup__sidebar-logo {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.mockup__sidebar-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all 0.2s;
}

.mockup__sidebar-item--active {
  background: rgba(220, 38, 38, 0.15);
  color: var(--accent-blue);
}

.mockup__main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mockup__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup__topbar-title {
  font-weight: 700;
  font-size: 0.95rem;
}

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

.mockup__search-bar {
  padding: 6px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mockup__avatar {
  width: 30px;
  height: 30px;
  background: var(--gradient-cta);
  border-radius: 50%;
}

.mockup__dashboard {
  padding: 20px 24px;
  flex: 1;
}

.mockup__stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.mockup__stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.mockup__stat-card-value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--card-accent, var(--accent-blue));
}

.mockup__stat-card-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.mockup__stat-card-bar {
  height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  margin-top: 10px;
  overflow: hidden;
}

.mockup__stat-card-bar div {
  height: 100%;
  background: var(--card-accent, var(--accent-blue));
  border-radius: 2px;
  animation: bar-fill 1.5s ease-out;
}

@keyframes bar-fill {
  from { width: 0 !important; }
}

.mockup__chart-area {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.mockup__chart-header {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.mockup__chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
}

.mockup__chart-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, rgba(220, 38, 38, 0.3), rgba(220, 38, 38, 0.6));
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: bar-grow 1s ease-out;
  transition: background 0.3s;
}

.mockup__chart-bar:hover {
  background: linear-gradient(to top, rgba(220, 38, 38, 0.5), rgba(220, 38, 38, 0.9));
}

.mockup__chart-bar--current {
  background: linear-gradient(to top, rgba(245, 158, 11, 0.4), rgba(245, 158, 11, 0.7));
}

.mockup__chart-bar span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

@keyframes bar-grow { from { height: 0; } }

.mockup__table-area {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mockup__table { display: flex; flex-direction: column; gap: 0; }

.mockup__table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 100px 90px;
  padding: 10px 12px;
  font-size: 0.78rem;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup__table-row:last-child { border-bottom: none; }

.mockup__table-row--header {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mockup__badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
}

.mockup__badge--green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.mockup__badge--blue { background: rgba(220, 38, 38, 0.15); color: var(--accent-blue); }
.mockup__badge--orange { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }

/* Screenshots pills */
.screenshots__pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.screenshots__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============ PRICING ============ */
.pricing {
  background: var(--bg-secondary);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

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

.pricing-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
}

.pricing-card--featured {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.12), rgba(30, 41, 70, 0.5));
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: var(--shadow-glow-blue);
  transform: scale(1.04);
}

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

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-cta);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

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

.pricing-card__name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.pricing-card__price {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-card__amount {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.pricing-card__period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-card__feature--disabled {
  opacity: 0.4;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--bg-primary);
  position: relative;
}

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

.testimonial-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  background: var(--gradient-cta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-card__role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============ FAQ ============ */
.faq {
  background: var(--bg-secondary);
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover { border-color: var(--border-medium); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s;
}

.faq-item__question:hover { background: rgba(255,255,255,0.04); }

.faq-item__chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--bg-primary);
  position: relative;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.contact__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact__form {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact__form-group { display: flex; flex-direction: column; gap: 6px; }
.contact__form-group--full { grid-column: span 2; }

.contact__form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.contact__form input,
.contact__form textarea {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-muted);
}

.contact__form textarea { resize: vertical; }

.contact__form .btn { grid-column: span 2; margin-top: 8px; }

.contact__form-note {
  grid-column: span 2;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-secondary);
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  height: 80px;
  margin-bottom: 16px;
  filter: brightness(0.9);
}

.footer__tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
  transition: all 0.3s;
}

.footer__social a:hover {
  background: rgba(220, 38, 38, 0.15);
  color: var(--accent-blue);
}

.footer__col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.25s;
}

.footer__col a:hover { color: var(--text-primary); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--wide { grid-column: span 2; }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { grid-column: span 2; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer__grid > :last-child { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--border-subtle);
    z-index: 999;
  }

  .nav__links.open { right: 0; }

  .nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    width: 100%;
  }

  .nav__cta-btn {
    margin-left: 0;
    margin-top: 16px;
    text-align: center;
    display: block;
  }

  .nav__burger { display: flex; z-index: 1000; }

  .nav__burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  .features__grid {
    grid-template-columns: 1fr;
  }
  .feature-card--wide { grid-column: span 1; }

  .mockup__stat-cards { grid-template-columns: repeat(2, 1fr); }
  .mockup__table-row { grid-template-columns: 1fr 1fr 80px; }
  .mockup__table-row span:last-child { display: none; }

  .pricing__grid { grid-template-columns: 1fr; }
  .pricing-card--featured { grid-column: span 1; transform: none; }

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

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__form { grid-template-columns: 1fr; }
  .contact__form-group--full { grid-column: span 1; }
  .contact__form .btn { grid-column: span 1; }
  .contact__form-note { grid-column: span 1; }

  .hero__stats { gap: 24px; }
  .hero__stat-number { font-size: 1.5rem; }
  .hero__actions { flex-direction: column; align-items: center; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .screenshots__mockup { flex-direction: column; }
  .mockup__sidebar {
    flex-direction: row;
    width: 100%;
    padding: 8px 16px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .mockup__sidebar-logo { margin-bottom: 0; margin-right: 16px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .hero__stat-divider { width: 40px; height: 1px; }
  .mockup__stat-cards { grid-template-columns: 1fr; }
  .mockup__chart { height: 80px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: span 1; }
}

/* ============ SHARED PAGE STYLES ============ */
.page-hero {
  padding: 140px 24px 80px;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}

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

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Feature detail pages */
.feature-detail {
  padding: 80px 0;
}

.feature-detail__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail__block:nth-child(even) {
  direction: rtl;
}

.feature-detail__block:nth-child(even) > * {
  direction: ltr;
}

.feature-detail__text h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-detail__text p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-detail__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-detail__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-detail__visual {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .feature-detail__block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .feature-detail__block:nth-child(even) {
    direction: ltr;
  }
}

/* ============ SUBSCRIBE STEPS ============ */
.subscribe-step {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.subscribe-step__number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  flex-shrink: 0;
}

.subscribe-step__title {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ============ SUBSCRIPTION PAGE ============ */
.subscribe-page {
  padding: 80px 0;
}

.subscribe__plan-summary {
  background: var(--gradient-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 40px;
}

.subscribe__plan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.subscribe__plan-name {
  font-size: 1.4rem;
  font-weight: 700;
}

.subscribe__plan-price {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.subscribe__plan-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.subscribe__plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.subscribe__payment-section {
  margin-top: 40px;
}

.subscribe__payment-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.payment-method {
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.payment-method:hover {
  border-color: var(--border-medium);
  background: rgba(255,255,255,0.05);
}

.payment-method.selected {
  border-color: var(--accent-blue);
  background: rgba(220, 38, 38, 0.08);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.payment-method__radio {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-medium);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.payment-method.selected .payment-method__radio {
  border-color: var(--accent-blue);
}

.payment-method.selected .payment-method__radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--accent-blue);
  border-radius: 50%;
}

.payment-method__info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.payment-method__info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.payment-method__icon {
  width: 44px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 4px;
  color: #fff;
  flex-shrink: 0;
}

.subscribe__billing-form {
  background: var(--gradient-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.subscribe__billing-form h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.billing-grid .full-width { grid-column: span 2; }

.billing-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.billing-grid input,
.billing-grid select {
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.billing-grid input:focus,
.billing-grid select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.billing-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748b' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.billing-grid select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.subscribe__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.subscribe__total-amount {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-blue);
}

.subscribe__cta { margin-top: 24px; }

.subscribe__secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .subscribe__plan-features { grid-template-columns: 1fr; }
  .billing-grid { grid-template-columns: 1fr; }
  .billing-grid .full-width { grid-column: span 1; }
  .payment-methods { grid-template-columns: 1fr; }
}

/* Nav link active indicator for subpages */
.nav__back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.25s;
}

.nav__back-link:hover { color: var(--text-primary); }
