/* =====================================================================
   RHCES – RHCEPEDA ENGINEERING SERVICES
   Premium Engineering Website Stylesheet
   ===================================================================== */

/* ── CSS Custom Properties ─────────────────────────────────────────── */
:root {
  /* Colors */
  --navy-950:    #020817;
  --navy-900:    #0a0e1a;
  --navy-800:    #0d1b2a;
  --navy-700:    #112240;
  --navy-600:    #1a3052;

  --steel-700:   #334155;
  --steel-500:   #64748b;
  --steel-300:   #94a3b8;
  --steel-200:   #cbd5e1;

  --cyan-400:    #22d3ee;
  --cyan-500:    #06b6d4;
  --cyan-glow:   rgba(0, 212, 255, 0.15);
  --cyan-bright: #00d4ff;

  --gold-400:    #fbbf24;
  --gold-500:    #f0a500;
  --gold-glow:   rgba(240, 165, 0, 0.15);

  --white:       #ffffff;
  --off-white:   #f0f4f8;
  --text-primary:#e2e8f0;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;

  --border:      rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 212, 255, 0.2);

  /* Gradients */
  --grad-hero:     linear-gradient(135deg, #020817 0%, #0a1628 50%, #061220 100%);
  --grad-accent:   linear-gradient(135deg, #00d4ff 0%, #0066cc 100%);
  --grad-gold:     linear-gradient(135deg, #f0a500 0%, #fbbf24 100%);
  --grad-card:     linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.6);
  --shadow-cyan: 0 0 40px rgba(0, 212, 255, 0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);

  /* Spacing & Layout */
  --max-w:       1200px;
  --nav-h:       72px;
  --section-py:  100px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   32px;

  /* Typography */
  --font-sans:   'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display:'Space Grotesk', 'Inter', sans-serif;

  /* Transitions */
  --t-fast:      150ms ease;
  --t-base:      250ms ease;
  --t-slow:      400ms ease;
  --t-spring:    300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-sans);
  background-color: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Utilities ──────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.accent-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

/* ── Loader ─────────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  /* CSS-only fallback: auto-dismiss after 3.5s even if JS fails */
  animation: loaderAutoDismiss 0.6s ease 3.5s forwards;
}

.loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-inner { text-align: center; }

.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-accent);
  border-radius: 99px;
  animation: loadFill 1.8s ease forwards;
}

@keyframes loadFill {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

@keyframes loaderAutoDismiss {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--t-base);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before { background: rgba(255,255,255,0.06); }

.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

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

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan-bright);
  border: 1px solid rgba(0, 212, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
}

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}

.btn-nav {
  background: var(--grad-accent);
  color: var(--white);
  padding: 9px 20px;
  font-size: 0.85rem;
}

.btn-nav:hover {
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.35);
  transform: translateY(-1px);
}

.btn-full { width: 100%; }

/* ── Navbar ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  z-index: 1000;
  transition: background var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-full {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-base);
  border-radius: var(--radius-sm);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 99px;
  transition: width var(--t-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link.active::after { width: calc(100% - 28px); }
.nav-link:hover::after { width: calc(100% - 28px); }

/* Portal nav link — subtle cyan pill */
.nav-portal-link {
  color: var(--cyan-400) !important;
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 50px !important;
  padding: 5px 14px !important;
  font-weight: 600 !important;
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base) !important;
}
.nav-portal-link:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.5);
  color: var(--cyan-bright) !important;
}
.nav-portal-link::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 99px;
  transition: all var(--t-base);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Section Common ─────────────────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Section background glow */
.section-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
  pointer-events: none;
}

.section-bg-glow.glow-right {
  left: auto;
  right: -200px;
}

/* ── Scroll Reveal Animations ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpIn 0.9s ease forwards;
}

.fade-delay { animation-delay: 0.25s; }

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

/* ── Hero Section ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top));
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background shapes */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
  bottom: -50px;
  left: -80px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 165, 0, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation: floatShape 12s ease-in-out infinite;
}

.shape-4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  bottom: 20%;
  right: 20%;
  animation: floatShape 7s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -30px) scale(1.05); }
  66%       { transform: translate(-15px, 20px) scale(0.97); }
}

/* Grid lines overlay */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 70%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

/* Hero Content */
.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan-bright);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cyan-bright);
  margin-bottom: 16px;
  line-height: 1.5;
}

.hero-desc {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat { text-align: center; padding: 0 24px; }
.stat:first-child { padding-left: 0; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero Visual – Dashboard */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-card {
  width: 100%;
  max-width: 420px;
  background: rgba(13, 27, 42, 0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 212, 255, 0.1);
  position: relative;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

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

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.card-dots {
  display: flex;
  gap: 5px;
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-title-sm {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #22c55e;
  font-weight: 500;
}

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

.card-body { padding: 18px; }

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

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

.metric-blue { background: rgba(0, 102, 204, 0.2); color: #60a5fa; }
.metric-cyan { background: rgba(0, 212, 255, 0.12); color: var(--cyan-bright); }

.metric-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.metric-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Chart area */
.chart-area {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
}

.chart-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
}

.bar {
  flex: 1;
  height: var(--h);
  background: rgba(0, 212, 255, 0.25);
  border-radius: 3px 3px 0 0;
  animation: growBar 1.2s ease forwards;
  transform-origin: bottom;
}

.bar-active {
  background: var(--grad-accent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

@keyframes growBar {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* Tool list */
.tool-list { display: flex; flex-direction: column; gap: 6px; }

.tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: background var(--t-fast);
}

.tool-item:hover { background: rgba(255,255,255,0.06); }

.tool-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ti-1 { background: rgba(0, 102, 204, 0.25); color: #60a5fa; }
.ti-2 { background: rgba(0, 212, 255, 0.15); color: var(--cyan-bright); }
.ti-3 { background: rgba(240, 165, 0, 0.15); color: var(--gold-400); }

.tool-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  letter-spacing: 0.04em;
}

.tool-badge.tb-new {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan-bright);
}

/* Floating mini cards */
.float-card {
  position: absolute;
  background: rgba(13, 27, 42, 0.9);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  z-index: 3;
  white-space: nowrap;
}

.float-card-1 {
  top: 8%;
  right: -5%;
  animation: floatMini1 4s ease-in-out infinite;
}

.float-card-2 {
  bottom: 20%;
  right: -8%;
  animation: floatMini2 5s ease-in-out infinite;
}

.float-card-3 {
  bottom: 5%;
  left: 2%;
  animation: floatMini3 3.5s ease-in-out infinite;
}

@keyframes floatMini1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-8px, -10px); }
}
@keyframes floatMini2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(8px, 8px); }
}
@keyframes floatMini3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-5px, -8px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeUpIn 1s 1.5s ease both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--cyan-bright);
  border-radius: 99px;
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ── Store Search Bar ───────────────────────────────────────────────── */
.store-search-wrap {
  max-width: 560px;
  margin: 0 auto 28px;
}
.store-search-inner {
  position: relative;
  display: flex;
  align-items: center;
}
.store-search-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.store-search-input {
  width: 100%;
  padding: 13px 44px 13px 48px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.store-search-input::placeholder { color: var(--text-muted); }
.store-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99,179,237,0.12);
}
.store-search-clear {
  position: absolute;
  right: 14px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.store-search-clear:hover {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}
.store-search-count {
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.store-search-count strong { color: var(--accent); }

/* ── Store Filter Tabs ──────────────────────────────────────────────── */
.store-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
}

.filter-btn:hover {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.filter-btn.active {
  background: rgba(0, 212, 255, 0.12);
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--cyan-bright);
}

/* ── Store Section ──────────────────────────────────────────────────── */
.store-section {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
}

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

/* Product Card Base */
.product-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
  transition: opacity var(--t-slow);
  opacity: 0;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.2);
}

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

/* Featured card accent */
.featured-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(13,27,42,0.8) 60%);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--shadow-card);
}

/* Badges */
.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-featured {
  background: linear-gradient(135deg, rgba(240,165,0,0.2), rgba(251,191,36,0.1));
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--gold-400);
}

.badge-soon {
  background: rgba(100, 116, 139, 0.2);
  border: 1px solid rgba(100,116,139,0.3);
  color: var(--steel-300);
}

.badge-new {
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: var(--cyan-bright);
}

.badge-free {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.badge-popular {
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,102,204,0.1));
  border: 1px solid rgba(0,212,255,0.3);
  color: var(--cyan-bright);
}

.badge-upcoming {
  background: rgba(240,165,0,0.1);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold-400);
}

/* Product version tag */
.product-version {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-dim);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px 10px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

/* Product price label */
.product-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  margin-top: 4px;
}

/* Empty store state */
.store-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 24px;
  color: var(--text-dim);
  text-align: center;
}

.store-empty svg { opacity: 0.3; }
.store-empty p { font-size: 0.95rem; line-height: 1.6; }
.store-empty strong { color: var(--cyan-bright); }

/* Product visual */
.product-visual {
  position: relative;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.product-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  position: relative;
  z-index: 1;
}

.product-card:hover .product-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.2);
}

.icon-dim { 
  background: rgba(100, 116, 139, 0.08);
  border-color: rgba(100,116,139,0.15);
  color: var(--steel-500);
}

.product-glow {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  filter: blur(15px);
  pointer-events: none;
}

/* Product info fills remaining space, pushes actions to bottom */
.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-actions {
  margin-top: auto;
}

/* Product info */
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 600;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

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

.product-actions {
  display: flex;
  gap: 12px;
}

.product-actions--subscription {
  flex-direction: column;
  gap: 8px;
}

.product-actions--subscription .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0 !important;
}

/* Coming soon progress */
.coming-soon-bar {
  height: 4px;
  background: rgba(255,255,255,0.07);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.cs-progress {
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--steel-700), var(--steel-500));
  border-radius: 99px;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.cs-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Store CTA */
.store-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Trainings Section ──────────────────────────────────────────────── */
.trainings-section {
  background: var(--navy-900);
  overflow: hidden;
}

.trainings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}


/* Training card */
.training-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}

.training-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 12px;
}

.training-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
}

.training-qr-img {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.training-qr-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
}

.training-qr-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.training-qr-dynamic {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.training-qr-dynamic img {
  border-radius: 4px;
}

.training-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-slow);
  pointer-events: none;
}

.featured-training {
  border-color: rgba(0, 212, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.04) 0%, rgba(13,27,42,0.85) 100%);
}

.training-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-cyan);
  border-color: rgba(0, 212, 255, 0.3);
}

.training-card:hover::after { opacity: 1; }

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

.training-icon-wrap {
  width: 68px;
  height: 68px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  transition: transform var(--t-slow);
}

.training-card:hover .training-icon-wrap {
  transform: scale(1.08) rotate(-2deg);
}

.training-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.training-level {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.training-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  color: var(--gold-400);
  font-weight: 600;
}

.training-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.25;
}

.training-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.training-modules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.module-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Training Price Wrap ────────────────────────────────────────────── */
.training-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

/* Discount tag */
.price-discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(239,68,68,0.45);
  animation: discountTagPop 1.6s ease-in-out infinite;
}
@keyframes discountTagPop {
  0%, 100% { transform: scale(1);    box-shadow: 0 2px 12px rgba(239,68,68,0.45); }
  50%       { transform: scale(1.06); box-shadow: 0 4px 20px rgba(239,68,68,0.7); }
}

/* Strikethrough original price */
.price-original {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: #f87171;
  margin-bottom: 2px;
  letter-spacing: 0.3px;
}

/* Urgency note */
.price-discount-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  color: #fbbf24;
  font-weight: 600;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  animation: urgencyBlink 2.5s ease-in-out infinite;
}
@keyframes urgencyBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

/* ── Training Price Badge ───────────────────────────────────────────── */
.training-price-badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}



.price-text {
  position: relative;
  display: inline-block;
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0a0f1e;
  overflow: hidden;

  /* Gold gradient base */
  background: linear-gradient(120deg, #f59e0b, #facc15, #fde68a, #f59e0b);
  background-size: 200% auto;

  /* Glow */
  box-shadow:
    0 0 12px rgba(250,204,21,0.6),
    0 0 30px rgba(250,204,21,0.3),
    0 4px 16px rgba(0,0,0,0.3);

  /* Combined: shimmer sweep + breathe */
  animation: priceShimmer 2.5s linear infinite, priceBreathe 3s ease-in-out infinite;
}

/* Shimmer sweep across gradient */
@keyframes priceShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Subtle breathe scale */
@keyframes priceBreathe {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 12px rgba(250,204,21,0.6), 0 0 30px rgba(250,204,21,0.3), 0 4px 16px rgba(0,0,0,0.3); }
  50%       { transform: scale(1.05); box-shadow: 0 0 22px rgba(250,204,21,0.9), 0 0 50px rgba(250,204,21,0.4), 0 6px 20px rgba(0,0,0,0.4); }
}

/* Shine streak that sweeps left → right */
.price-text::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: priceShineStreak 2.5s ease-in-out infinite;
}
@keyframes priceShineStreak {
  0%   { left: -75%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { left: 130%; opacity: 0; }
  100% { left: 130%; opacity: 0; }
}

/* ── Completed Badge ────────────────────────────────────────────────── */
.badge-completed {
  background: rgba(74,222,128,0.12);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* ── Seminar Stats Row ──────────────────────────────────────────────── */
.seminar-stats-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.seminar-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.seminar-stat-participants {
  color: #4ade80;
  font-weight: 600;
}

/* ── Recording Note ─────────────────────────────────────────────────── */
.recording-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(99,179,237,0.06);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  margin-bottom: 10px;
  font-weight: 500;
}
.recording-note svg { color: var(--accent); flex-shrink: 0; }

/* ── Tools Covered Section ──────────────────────────────────────────── */
.training-tool-categories {
  background: rgba(99,179,237,0.04);
  border: 1px solid rgba(99,179,237,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.tool-cats-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.tool-cat-block { margin-bottom: 10px; }
.tool-cat-block:last-child { margin-bottom: 0; }
.tool-cat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 5px;
}
.tool-cat-items { display: flex; flex-wrap: wrap; gap: 5px; }
.tool-chip {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  transition: background 0.2s, color 0.2s;
}
.tool-chip:hover {
  background: rgba(99,179,237,0.1);
  color: var(--accent);
  border-color: rgba(99,179,237,0.3);
}

/* ── Training Perks ─────────────────────────────────────────────────── */
.training-perks {
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.perks-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.training-info-row {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.training-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* training-actions base styles defined above */

/* Upcoming training */
.upcoming-training {
  border-color: rgba(240, 165, 0, 0.15);
}

.upcoming-training .training-icon-wrap {
  background: rgba(240,165,0,0.08);
  border-color: rgba(240,165,0,0.2);
  color: var(--gold-400);
}

.upcoming-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0 24px;
}

.upcoming-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ── About Section ──────────────────────────────────────────────────── */
.about-section {
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-tag { margin-bottom: 0; }

.about-text {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong {
  color: var(--cyan-bright);
  font-weight: 600;
}

.about-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

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

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}

.value-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-3px);
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vi-1 { background: rgba(0, 212, 255, 0.12); color: var(--cyan-bright); }
.vi-2 { background: rgba(240, 165, 0, 0.12); color: var(--gold-400); }
.vi-3 { background: rgba(34, 197, 94, 0.12); color: #22c55e; }
.vi-4 { background: rgba(96, 165, 250, 0.12); color: #60a5fa; }

.value-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.value-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Contact Section ────────────────────────────────────────────────── */
.contact-section {
  background: var(--navy-950);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

.input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--steel-500);
  pointer-events: none;
  transition: color var(--t-base);
}

.input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}

.input-wrap input:focus {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.input-wrap:focus-within svg { color: var(--cyan-bright); }

.input-wrap input::placeholder { color: var(--text-dim); }

textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--t-base), background var(--t-base), box-shadow var(--t-base);
}

textarea:focus {
  border-color: rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

textarea::placeholder { color: var(--text-dim); }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  color: #22c55e;
  font-size: 0.875rem;
  font-weight: 500;
}
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
  color: #f87171;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
.form-error a {
  color: var(--accent);
  text-decoration: underline;
}

/* Contact Info */
.info-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.info-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.info-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.info-header p {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--t-base);
}

a.info-value:hover { color: var(--cyan-bright); }

.social-row {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--t-base);
}

.social-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: var(--cyan-bright);
  transform: translateY(-2px);
}

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
}

.footer-top { padding: 64px 0 48px; }

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a,
.footer-links span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-base);
}

.footer-links a:hover { color: var(--cyan-bright); }

.footer-links svg { color: var(--text-dim); flex-shrink: 0; }

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-note {
  font-style: italic;
  color: var(--steel-500) !important;
}

/* ── Back to Top ─────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-base);
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 212, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 212, 255, 0.2);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  :root { --section-py: 80px; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-content { max-width: 100%; }

  .hero-actions,
  .hero-stats,
  .about-actions { justify-content: center; }

  .float-card-1 { top: -5%; right: 0; }
  .float-card-2 { bottom: 10%; right: 0; }

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

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

  .training-modules {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --section-py: 64px;
    --nav-h: 64px;
  }

  /* Nav mobile */
  .hamburger { display: flex; }
  .logo-subtitle { display: none; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform var(--t-slow);
    z-index: 999;
  }

  .nav-menu.open { transform: translateY(0); }

  .nav-link {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
  }

  .nav-link::after { display: none; }
  .nav-link:hover { background: rgba(255,255,255,0.05); }

  .btn-nav { margin-top: 8px; }

  /* Hero */
  .hero-title { font-size: clamp(1.8rem, 8vw, 3rem); }

  .hero-visual { justify-content: center; }
  .float-card { display: none; }
  .dashboard-card { max-width: 340px; }

  .hero-stats { flex-wrap: wrap; gap: 16px; justify-content: center; }
  .stat-divider { display: none; }
  .stat { padding: 0 12px; }

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

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

  /* Sections */
  .section-title { font-size: 1.7rem; }

  .products-grid,
  .trainings-grid { grid-template-columns: 1fr; }

  .product-card,
  .training-card { padding: 24px; }

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

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

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  /* Store CTA */
  .store-cta { flex-direction: column; text-align: center; }

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

  .back-to-top { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .product-actions,
  .training-actions { flex-direction: column; }

  .product-actions .btn,
  .training-actions .btn { width: 100%; justify-content: center; }

  .info-card { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════════════════
   PURCHASE MODAL  (PayPal auto-detect + Bank/GCash manual flow)
   ══════════════════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #0d1b2a;
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7), 0 0 60px rgba(0, 212, 255, 0.08);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
  transform: translateY(0) scale(1);
}

/* Scrollbar inside modal */
.modal-card::-webkit-scrollbar { width: 4px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(0,212,255,0.2); border-radius: 99px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Step visibility */
.modal-step { display: flex; flex-direction: column; }
.modal-step.hidden { display: none; }

/* Modal icon */
.modal-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  margin-bottom: 20px;
}

.modal-icon-check {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
}

.modal-icon-success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successPop {
  0%   { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

/* Product row */
.modal-product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  gap: 16px;
}

.modal-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-product-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.modal-product-version {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.modal-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.modal-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0 16px;
}

.modal-instruction {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-instruction strong { color: var(--white); font-weight: 600; }

/* Payment method tab strip */
.pm-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.pm-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-base);
}

.pm-tab:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.pm-tab.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.4);
  color: var(--cyan-bright);
}

/* Auto / manual verification badges */
.pm-auto-badge, .pm-manual-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pm-auto-badge {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
}

.pm-manual-badge {
  background: rgba(240, 165, 0, 0.08);
  border: 1px solid rgba(240, 165, 0, 0.2);
  color: var(--gold-400);
}

/* PayPal button container */
.paypal-btn-wrap {
  min-height: 48px;
  margin-top: 8px;
}

.paypal-loading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.paypal-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 212, 255, 0.2);
  border-top-color: var(--cyan-bright);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.paypal-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.07);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #f87171;
  line-height: 1.5;
  margin-top: 8px;
}

/* Bank / GCash details panel */
.pdp-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pdp-label strong { color: var(--white); }

.pdp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 8px;
  gap: 12px;
}

.pdp-row span  { color: var(--text-muted); flex-shrink: 0; }
.pdp-row strong { color: var(--white); text-align: right; }

.pdp-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  line-height: 1.5;
  font-style: italic;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan-bright);
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  font-family: var(--font-sans);
}

.copy-btn:hover { background: rgba(0, 212, 255, 0.15); }
.copy-btn.copied { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #22c55e; }

/* ═══════════════════════════════════════════════════
   GCash Interactive QR Payment Flow
═══════════════════════════════════════════════════ */

/* Input wrapper with icon */
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap svg {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}
.input-wrap input {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.input-wrap input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,179,237,0.15);
}

.modal-instruction {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Header row inside GCash QR panel */
.gcash-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.gcash-logo-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #00b4d8;
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.2);
  padding: 5px 10px;
  border-radius: 20px;
}
.gcash-amount-badge {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* QR container */
.gcash-qr-container {
  text-align: center;
  margin-bottom: 14px;
}
.gcash-qr-inner {
  position: relative;
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 10px;
}
.gcash-qr-inner canvas,
.gcash-qr-inner img {
  display: block;
  border-radius: 8px;
}
/* animated ring around QR */
.gcash-qr-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid rgba(0,180,216,0.5);
  animation: gcashPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gcashPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.02); }
}

.gcash-qr-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.gcash-qr-label strong { color: #00b4d8; }

.gcash-recipient {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.gcash-recipient span:first-child {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}
.gcash-num-display {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Waiting row */
.gcash-wait-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,179,237,0.06);
  border: 1px solid rgba(99,179,237,0.15);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.gcash-wait-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: gcashDot 1.2s ease-in-out infinite;
}
@keyframes gcashDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.gcash-countdown {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  min-width: 42px;
  text-align: right;
}
.gcash-countdown.warning { color: #f87171; }

/* Progress bar */
.gcash-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
.gcash-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #4ade80);
  border-radius: 99px;
  width: 100%;
  transition: width 1s linear;
}

/* Steps note */
.gcash-steps-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.gcash-steps-note strong { color: var(--text-secondary); }

/* Divider */
.gcash-divider-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.gcash-divider-row::before,
.gcash-divider-row::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Back button */
.modal-back-btn {
  width: 100%;
  padding: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: color 0.2s;
}
.modal-back-btn:hover { color: var(--text-secondary); }

/* Expired box */
.gcash-expired-box {
  text-align: center;
  padding: 24px 16px;
  background: rgba(248,113,113,0.05);
  border: 1px solid rgba(248,113,113,0.15);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.gcash-expired-box svg { margin-bottom: 10px; }
.gcash-expired-box h4 {
  font-size: 1rem;
  color: #f87171;
  margin-bottom: 6px;
}
.gcash-expired-box p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Confirm form */
.payment-confirm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 12px;
}

.modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-sans);
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
  transition: color var(--t-base);
}

.modal-back-btn:hover { color: var(--text-primary); }

/* PayPal transaction box */
.paypal-txn-box {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.paypal-txn-box strong { color: var(--white); }

/* Manual success summary */
.success-summary {
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.success-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  gap: 12px;
}

.success-row span { color: var(--text-muted); }
.success-row strong { color: var(--white); text-align: right; }

.success-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(240, 165, 0, 0.06);
  border: 1px solid rgba(240, 165, 0, 0.18);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.success-note svg { flex-shrink: 0; margin-top: 2px; }
.success-note a { color: var(--cyan-bright); }
.success-note a:hover { opacity: 0.8; }

/* Product price display on card */
.product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

/* Mobile modal */
@media (max-width: 580px) {
  .modal-card { padding: 24px 18px; }
  .modal-price { font-size: 1.4rem; }
  .pm-tabs { gap: 4px; }
  .pm-tab { font-size: 0.72rem; padding: 8px 4px; }
  .pm-tab svg { display: none; }
}
