/* ============================================
   Mossen Payments - Design System v2.0
   UK Heritage Payment Institution - Premium & Stable
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #1e3a5f;
  --primary-light: #2d5a87;
  --primary-dark: #0f2540;
  --primary-900: #0a1a30;
  --primary-50: #e8edf3;
  --primary-100: #d1dbe7;

  /* Gold Palette */
  --gold: #c9a962;
  --gold-light: #d4bc7e;
  --gold-dark: #b8964f;
  --gold-50: #faf6ec;
  --gold-100: #f5ecd6;
  --gold-gradient: linear-gradient(135deg, #d4bc7e 0%, #c9a962 50%, #b8964f 100%);

  /* Background Colors */
  --bg: #fdfcfa;
  --bg-secondary: #f5f2ed;
  --bg-tertiary: #ebe5db;
  --bg-dark: #1a1a2e;

  /* Text Colors */
  --text: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --text-light: #b8b8c8;
  --text-white: #ffffff;

  /* Borders */
  --border: rgba(30, 58, 95, 0.08);
  --border-light: rgba(30, 58, 95, 0.12);
  --border-gold: rgba(201, 169, 98, 0.3);
  --border-gold-light: rgba(201, 169, 98, 0.15);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.04), 0 1px 2px rgba(26, 26, 46, 0.03);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.06), 0 2px 4px rgba(26, 26, 46, 0.04);
  --shadow-lg: 0 12px 32px rgba(26, 26, 46, 0.08), 0 4px 8px rgba(26, 26, 46, 0.05);
  --shadow-xl: 0 24px 48px rgba(26, 26, 46, 0.1), 0 8px 16px rgba(26, 26, 46, 0.06);
  --shadow-gold: 0 8px 24px rgba(201, 169, 98, 0.15);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 96px;
  --space-3xl: 128px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Animations */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

/* ============================================
   Container & Grid
   ============================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.container-sm {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  position: relative;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0.5;
}

.section-label::before {
  right: calc(100% + 12px);
}

.section-label::after {
  left: calc(100% + 12px);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

h1 { font-size: 48px; letter-spacing: -0.02em; }
h2 { font-size: 36px; letter-spacing: -0.01em; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }

.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.1);
  border-bottom: 2px solid var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
  color: white;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--primary-900);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  border-bottom: 2px solid var(--gold-dark);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201, 169, 98, 0.25);
  color: var(--primary-900);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

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

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--primary-900);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 15px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

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

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gold-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--gold-100);
  transform: scale(1.1);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Badges & Tags
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.badge-gold {
  background: var(--gold-50);
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
}

.badge-primary {
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-900);
  box-shadow: 0 2px 8px rgba(201, 169, 98, 0.3);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.logo-svg {
  height: 56px;
  width: auto;
  display: block;
}

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

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: calc(72px + var(--space-2xl)) 0 var(--space-2xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(201, 169, 98, 0.06), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(30, 58, 95, 0.04), transparent 60%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 120px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: white;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-dark);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--primary);
  position: relative;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--gold-50);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  max-width: 500px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.hero-stat-number .gold {
  color: var(--gold);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

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

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
}

.hero-main-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.hero-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.hero-card-chip {
  font-size: 11px;
  padding: 3px 10px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: var(--radius-full);
  font-weight: 500;
}

.hero-card-amount {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.hero-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

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

.hero-bar {
  flex: 1;
  background: linear-gradient(to top, var(--primary), var(--primary-light));
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: all 0.3s;
}

.hero-bar.active {
  background: var(--gold-gradient);
  opacity: 1;
}

.hero-floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 3;
}

.hero-fc-1 {
  top: 10%;
  left: -5%;
  width: 160px;
  animation: float 6s ease-in-out infinite;
}

.hero-fc-2 {
  bottom: 15%;
  right: -5%;
  width: 140px;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-fc-3 {
  top: 50%;
  right: -8%;
  width: 130px;
  animation: float 6s ease-in-out infinite 4s;
}

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

.hero-fc-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-fc-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-fc-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   Logo Wall
   ============================================ */
.logo-wall {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}

.logo-wall-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all var(--transition-base);
}

.logo-item:hover {
  opacity: 1;
  color: var(--primary);
}

.logo-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ============================================
   Certification Wall
   ============================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.cert-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}

.cert-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cert-seal {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-sm);
  border-radius: 50%;
  background: var(--gold-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 2px solid var(--border-gold);
  position: relative;
}

.cert-seal::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed var(--border-gold);
}

.cert-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.cert-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
  transform-origin: left;
}

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

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

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--space-md);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold) 50%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  margin-bottom: var(--space-lg);
  position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-dot {
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.timeline-dot-inner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-sm);
}

.timeline-content {
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.timeline-content:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  line-height: 1;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Industry Solutions
   ============================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  color: white;
  cursor: pointer;
  transition: all var(--transition-base);
}

.industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.4) 50%, rgba(26, 26, 46, 0.1) 100%);
  transition: all var(--transition-base);
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

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

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.industry-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.industry-card:hover .industry-bg {
  transform: scale(1.05);
}

.industry-content {
  position: relative;
  z-index: 1;
}

.industry-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.industry-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
  color: white;
}

.industry-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 169, 98, 0.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(45, 90, 135, 0.3), transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold), var(--shadow-lg);
  transform: scale(1.03);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--gold-gradient);
  color: var(--primary-900);
  padding: 4px 40px;
  font-size: 11px;
  font-weight: 600;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
}

.pricing-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.pricing-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.pricing-price {
  margin-bottom: var(--space-md);
}

.pricing-amount {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.pricing-rate {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-lg);
  flex: 1;
}

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

.pricing-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 36px;
  color: var(--gold);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  font-style: italic;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 600;
  font-size: 16px;
}

.testimonial-info h4 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

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

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  font-size: 15px;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--gold);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 98, 0.12), transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(45, 90, 135, 0.3), transparent 40%);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-sm);
}

.cta-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-2xl);
}

.footer-heritage {
  text-align: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-xl);
}

.footer-heritage-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}

.footer-heritage-year {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.footer-heritage-text {
  text-align: left;
}

.footer-heritage-title {
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}

.footer-heritage-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-heritage-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: white;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-md);
  margin-top: 12px;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--primary-900);
  transform: translateY(-2px);
}

.footer-certs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-cert-icon {
  font-size: 18px;
}

.footer-bottom {
  padding-bottom: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-legal-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Email Floating Button
   ============================================ */
.email-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
}

.email-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-gradient);
  border: none;
  color: var(--primary-900);
  font-size: 24px;
  cursor: pointer;
  box-shadow: var(--shadow-gold), 0 4px 16px rgba(0,0,0,0.15);
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(201, 169, 98, 0.35), 0 4px 16px rgba(0,0,0,0.15);
}

.email-fab-btn .pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: email-pulse 2s infinite;
}

@keyframes email-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.email-fab-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
}

.email-fab-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.email-fab-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.email-fab-header h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.email-fab-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.email-fab-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.email-fab-desc {
  padding: 14px 20px 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.email-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

.email-contact-item .icon {
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-50);
  border-radius: var(--radius-sm);
}

.email-contact-item .details {
  flex: 1;
}

.email-contact-item .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.email-contact-item .value {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.email-copy-btn {
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  background: var(--primary-50);
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.email-fab-footer {
  padding: 12px 20px;
  background: var(--bg-secondary);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ============================================
   Share Widget
   ============================================ */
.share-widget {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.share-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ============================================
   Breadcrumb
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--text-light);
}

.breadcrumb .current {
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Page Header (Inner Pages)
   ============================================ */
.page-hero {
  padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(201, 169, 98, 0.06), transparent 70%),
    var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero .breadcrumb {
  text-align: left;
  padding: 0 0 var(--space-lg);
}

.page-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
  background: white;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* ============================================
   Step Indicator
   ============================================ */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  gap: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-base);
}

.step.active .step-number {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary-900);
}

.step.done .step-number {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.step.active .step-label {
  color: var(--text);
}

.step-line {
  width: 60px;
  height: 2px;
  background: var(--border-light);
  margin: 0 12px;
  position: relative;
  top: -0px;
}

.step-line.done {
  background: var(--gold);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 2;
    text-align: left;
  }
  .timeline-dot { grid-column: 1; justify-content: flex-start; padding-left: 12px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: var(--space-xl) 0; }
  .section-title { font-size: 28px; }
  .hero { padding-top: calc(72px + var(--space-xl)); }
  .hero-title { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stat-number { font-size: 22px; }
  .features-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .stat-number { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-title { font-size: 32px; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 1000;
  }
  .nav-links.active { right: 0; display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { gap: var(--space-md); }
  .pricing-card.featured { transform: none; }
  .cta-title { font-size: 28px; }
}

/* ============================================
   SVG Icon System
   ============================================ */
.icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

.icon-lg {
  width: 48px;
  height: 48px;
}

.icon-xl {
  width: 64px;
  height: 64px;
}

.icon-gold {
  fill: #c9a962;
}

.icon-primary {
  fill: #1e3a5f;
}

/* ============================================
   Additional Styles for Enhanced Homepage
   ============================================ */

/* Feature Card Icon SVG */
.feature-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--gold-dark);
}

/* Feature Learn More Link */
.feature-learn-more {
  display: inline-block;
  margin-top: var(--space-sm);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.feature-learn-more:hover {
  color: var(--gold);
}

/* Hero Product Showcase */
.hero-product-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/3;
}

.hero-product-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}
