/* CSS Styles for Crytech Online Solution Provider */
:root {
  --bg-dark: #050b14;
  --bg-card: rgba(13, 23, 38, 0.65);
  --bg-card-hover: rgba(20, 35, 58, 0.75);
  --border-gold: rgba(230, 195, 130, 0.22);
  --border-gold-glow: rgba(230, 195, 130, 0.45);
  --gold-primary: #ecd599;
  --gold-accent: #f5b041;
  --gold-glow: rgba(245, 176, 65, 0.4);
  --teal-accent: #00c99e;
  --text-main: #f0f4f8;
  --text-muted: #94a3b8;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  top: -20%;
  left: 30%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(236, 213, 153, 0.05) 0%, rgba(5, 11, 20, 0) 70%);
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5, 11, 20, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px rgba(0, 201, 158, 0.4));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1.1;
}

.company-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--teal-accent);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f5d78e, #d4a34b);
  color: #070e17;
  border: none;
  box-shadow: 0 4px 18px rgba(212, 163, 75, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 163, 75, 0.5);
  background: linear-gradient(135deg, #fff0bd, #e2b45f);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-primary);
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  padding: 7rem 0 5rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(236, 213, 153, 0.08);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--teal-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff2cb 0%, #e2b45f 50%, #fbd587 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

/* Stats Strip */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(13, 23, 38, 0.55);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1.8rem 2.5rem;
  width: 100%;
  max-width: 950px;
  backdrop-filter: blur(12px);
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
}

/* Common Section */
.section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

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

.section-tag {
  color: var(--teal-accent);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Glass Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-gold-glow);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

/* Solutions Grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.solution-card {
  display: flex;
  flex-direction: column;
}

.solution-card.featured {
  border-color: rgba(245, 176, 65, 0.5);
  box-shadow: 0 0 25px rgba(245, 176, 65, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(245, 176, 65, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(236, 213, 153, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.feature-bullets {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-bullets li {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-bullets i {
  color: var(--teal-accent);
  font-size: 0.85rem;
}

.card-link {
  margin-top: auto;
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 12px;
}

/* Feature Layout */
.feature-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.feature-desc {
  color: var(--text-muted);
  margin: 1.2rem 0 2rem;
  font-size: 1.05rem;
}

.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  gap: 1.2rem;
}

.highlight-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 201, 158, 0.1);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.highlight-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.highlight-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Terminal Card */
.code-terminal-card {
  background: rgba(8, 14, 25, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  font-family: monospace;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 1.5rem;
  font-size: 0.88rem;
  line-height: 1.8;
}

.t-green { color: #27c93f; }
.t-cyan { color: #38bdf8; }
.t-gold { color: #f5b041; }
.t-cursor { animation: blink 1s infinite; color: var(--gold-primary); }

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

/* Contact Form Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 3.5rem;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.95rem;
}

.c-item i {
  color: var(--gold-primary);
  font-size: 1.1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

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

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

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-group select option {
  background-color: #0d1726;
  color: #fff;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4rem 0 2rem;
  background: rgba(3, 7, 13, 0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 1.2rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--gold-primary);
  color: #070e17;
}

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

/* Toast Notification */
.toast {
  position: fixed;
  bottom: -70px;
  right: 30px;
  background: #0f241d;
  border: 1px solid var(--teal-accent);
  color: #e6fffa;
  padding: 1rem 1.6rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), bottom 0.4s ease;
}

.toast.show {
  bottom: 30px;
}

.toast i {
  color: var(--teal-accent);
  font-size: 1.2rem;
}

/* Responsive queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .feature-layout {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav, .nav-actions .btn-outline {
    display: none;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-divider {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
}


/* ===== Crytech content refresh: typography, official logo and alignment ===== */
:root { --font-heading: 'Manrope', sans-serif; --font-body: 'DM Sans', sans-serif; }
.hero-section { text-align: left; }
.hero-content { align-items: flex-start; }
.hero-badge { margin-bottom: 1.5rem; }
.hero-title { max-width: 900px; text-align: left; font-size: clamp(2.65rem, 5vw, 4.4rem); letter-spacing: -1.8px; }
.hero-subtitle { max-width: 760px; text-align: left; margin-left: 0; }
.hero-cta-group { justify-content: flex-start; }
.stats-strip { max-width: 820px; margin-right: auto; }
.section-header { text-align: left; max-width: 850px; margin-left: 0; margin-right: auto; }
.section-desc { margin-left: 0; margin-right: 0; max-width: 760px; }
.official-logo-wrap { display: inline-flex; align-items: center; justify-content: center; background: #f7f8f7; border-radius: 12px; padding: 7px 12px; box-shadow: 0 5px 22px rgba(0,0,0,.16); }
.official-logo { display: block; width: 190px; height: auto; max-height: 64px; object-fit: contain; }
.brand-logo { gap: 0; }
.footer-logo { display: inline-flex; margin-bottom: 1rem; }
.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.capability-card { padding: 1.65rem; border: 1px solid var(--border-gold); border-radius: 16px; background: var(--bg-card); backdrop-filter: blur(12px); transition: transform .25s ease, border-color .25s ease; }
.capability-card:hover { transform: translateY(-5px); border-color: var(--border-gold-glow); }
.capability-card > i { color: var(--gold-primary); font-size: 1.55rem; margin-bottom: 1rem; }
.capability-card h3 { font-family: var(--font-heading); font-size: 1.08rem; margin-bottom: .55rem; }
.capability-card p, .form-note { color: var(--text-muted); font-size: .92rem; }
.contact-details a { color: inherit; text-decoration: none; }
.contact-details a:hover { color: var(--gold-primary); }
.contact-whatsapp { margin-top: 1.5rem; display: inline-flex; }
.form-note { margin-top: .8rem; }
.footer-col .official-logo { width: 175px; max-height: 60px; }
@media (max-width: 992px) { .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 768px) {
  .site-header { padding: .75rem 0; }
  .official-logo { width: 155px; max-height: 54px; }
  .hero-section { padding: 4.5rem 0 3.5rem; }
  .hero-title { font-size: clamp(2.15rem, 9vw, 3rem); letter-spacing: -1px; }
  .hero-subtitle { font-size: 1.03rem; }
  .hero-cta-group { align-items: stretch; }
  .stats-strip { align-items: flex-start; padding: 1.4rem; }
  .stat-card { align-items: flex-start; }
  .section { padding: 4.25rem 0; }
  .section-title { font-size: 2rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
}

/* Additional company-story, purpose, feature and AI sections */
.purpose-grid,
.feature-category-grid,
.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.purpose-card,
.feature-category-card { padding: 2rem; }
.purpose-card h3,
.feature-category-card h3 { margin: .8rem 0 1rem; }
.purpose-card p { color: var(--text-muted); margin-top: .8rem; }
.feature-category-card .feature-bullets { margin: 1.2rem 0; }
.ai-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ai-feature-grid .capability-card { height: 100%; }
.section-cta { display: flex; justify-content: center; margin-top: 2rem; }
.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea { width: 100%; }
.contact-form .form-note { margin-top: .85rem; }
@media (max-width: 760px) {
  .purpose-grid,
  .feature-category-grid,
  .ai-feature-grid { grid-template-columns: 1fr; }
  .purpose-card,
  .feature-category-card { padding: 1.35rem; }
}


/* ===== Transparent Crytech logo + premium Vision, Mission and About sections ===== */
.official-logo-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.official-logo {
  width: 220px;
  max-height: 74px;
  object-fit: contain;
  filter: none;
}
.footer-col .official-logo {
  width: 190px;
  max-height: 66px;
}
.vision-mission-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(5, 18, 43, .97), rgba(8, 31, 66, .94), rgba(4, 15, 35, .98));
}
.vision-mission-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 28%, rgba(92, 177, 255, .12) 36%, transparent 46%, rgba(238, 190, 104, .10) 57%, transparent 68%);
  animation: visionGlowDrift 22s linear infinite;
}
@keyframes visionGlowDrift { to { transform: rotate(360deg); } }
.vision-header .section-title { color: #f8fbff; }
.vision-header .section-desc { color: #c6d5e9; }
.vision-mission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.premium-purpose-card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 2.4rem;
  color: #10213c;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ff 100%);
  border: 1px solid rgba(160, 194, 232, .75);
  border-radius: 22px;
  box-shadow: 0 18px 48px rgba(0, 8, 25, .25);
  transition: transform .35s ease, box-shadow .35s ease;
}
.premium-purpose-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 25px 58px rgba(0, 8, 25, .34);
}
.purpose-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  margin-bottom: 1.35rem;
  color: #fff;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #0b2a55, #1766a8);
  box-shadow: 0 8px 22px rgba(17, 76, 135, .24);
}
.mission-card .purpose-icon {
  background: linear-gradient(135deg, #b88738, #e3b95f);
}
.purpose-eyebrow {
  display: block;
  color: #1766a8;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: .65rem;
}
.mission-card .purpose-eyebrow { color: #a87525; }
.premium-purpose-card h3 {
  color: #0b1f3b;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}
.premium-purpose-card p {
  color: #53647a;
  font-size: .97rem;
  line-height: 1.8;
  max-width: 620px;
}
.purpose-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #0c4e91, #69b9ee, transparent);
  background-size: 200% 100%;
  animation: accentFlow 5s ease-in-out infinite alternate;
}
.mission-card .purpose-accent {
  background: linear-gradient(90deg, #b88738, #f0d18c, transparent);
  background-size: 200% 100%;
}
@keyframes accentFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.about-crytech-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 4rem;
  align-items: center;
}
.about-crytech-copy .section-title { margin: .5rem 0 1rem; }
.about-subtitle {
  color: #d9b86e;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}
.about-crytech-copy p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin: 0 0 1rem;
  max-width: 760px;
}
.about-crytech-copy .about-signoff {
  color: #f0d18c;
  font-weight: 700;
  margin-top: 1.4rem;
}
.about-crytech-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1rem;
}
.about-highlight-card {
  min-height: 150px;
  padding: 1.35rem;
  border: 1px solid rgba(198, 218, 245, .16);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .55rem;
  backdrop-filter: blur(12px);
}
.about-highlight-card i { color: #e6c477; font-size: 1.35rem; }
.about-highlight-card strong { color: #fff; font-size: 1.05rem; }
.about-highlight-card span { color: #aebed2; font-size: .84rem; }
@media (max-width: 900px) {
  .about-crytech-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 760px) {
  .official-logo { width: 170px; max-height: 58px; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .premium-purpose-card { min-height: auto; padding: 1.65rem; }
  .about-highlight-card { min-height: 130px; padding: 1rem; }
}


/* ===== Glassmorphism refinement: reveal the original animated background ===== */
/* Keep the original animated canvas and its colours untouched. */
.vision-mission-section {
  background: transparent !important;
  isolation: auto;
}
.vision-mission-section::before {
  content: none !important;
  animation: none !important;
}

/* Vision and Mission: transparent glass panels, not white solid cards. */
.premium-purpose-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.105),
    rgba(255, 255, 255, 0.035)
  ) !important;
  border: 1px solid rgba(220, 235, 255, 0.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 42px rgba(0, 0, 0, 0.16) !important;
  backdrop-filter: blur(22px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(135%) !important;
  color: #f7fbff !important;
}
.premium-purpose-card h3 { color: #ffffff !important; }
.premium-purpose-card p { color: rgba(232, 241, 252, 0.82) !important; }
.premium-purpose-card .purpose-eyebrow { color: #9fd2ff !important; }
.premium-purpose-card.mission-card .purpose-eyebrow { color: #f1d18c !important; }
.premium-purpose-card .purpose-icon {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255,255,255,.22);
}
.premium-purpose-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.055)
  ) !important;
  border-color: rgba(220, 235, 255, 0.42) !important;
}

/* Apply a consistent, lighter glass treatment to the other content boxes. */
.glass-card,
.capability-card,
.about-highlight-card,
.code-terminal-card,
.contact-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.025)
  ) !important;
  border: 1px solid rgba(220, 235, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 14px 36px rgba(0, 0, 0, 0.12) !important;
  backdrop-filter: blur(18px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
}
.glass-card:hover,
.capability-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.045)
  ) !important;
  border-color: rgba(220, 235, 255, 0.30) !important;
}
.about-highlight-card {
  background: rgba(255, 255, 255, 0.055) !important;
}
.code-terminal-card {
  background: rgba(5, 14, 28, 0.32) !important;
}
.contact-wrapper {
  background: rgba(255, 255, 255, 0.045) !important;
}

/* Preserve readable text on the transparent panels. */
.solution-card h3,
.feature-category-card h3,
.capability-card h3,
.contact-info h2,
.footer-col h4 { color: #f7fbff; }
.feature-bullets li,
.contact-info p,
.about-crytech-copy p { color: rgba(232, 241, 252, 0.82); }

/* Form controls also use translucent glass surfaces. */
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(220, 235, 255, 0.20) !important;
  backdrop-filter: blur(12px);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.10) !important;
}

/* Reduce opaque fills on the stats and terminal header surfaces. */
.stats-strip,
.terminal-header {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(220, 235, 255, 0.12) !important;
}

@media (prefers-reduced-motion: reduce) {
  .premium-purpose-card,
  .glass-card,
  .capability-card { transition: none !important; }
}


/* ===== Four-product presentation with connected module lists ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
  align-items: stretch;
  margin-top: 2rem;
}
.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
.product-card .product-type {
  display: inline-block;
  color: #9dcfff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 1.65px;
  margin: -.35rem 0 .65rem;
}
.product-card h3 {
  color: #f7fbff;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: .8rem;
}
.product-card > p {
  color: rgba(232, 241, 252, .78);
  font-size: .94rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
}
.module-panel {
  margin: .2rem 0 1.6rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(220, 235, 255, .12);
}
.module-heading {
  display: block;
  color: #f0d18c;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.module-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .78rem;
  padding-left: .2rem;
}
.module-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 7px;
  bottom: 7px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(117, 190, 245, .85), rgba(117, 190, 245, .12));
}
.module-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(238, 245, 255, .9);
  font-size: .88rem;
  line-height: 1.45;
}
.module-node {
  position: relative;
  z-index: 1;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  margin-top: .16rem;
  border-radius: 50%;
  background: #8ecbff;
  border: 2px solid rgba(7, 22, 42, .9);
  box-shadow: 0 0 0 1px rgba(142, 203, 255, .48), 0 0 10px rgba(88, 174, 245, .25);
}
.product-card:nth-child(2) .module-node {
  background: #e6c477;
  box-shadow: 0 0 0 1px rgba(230, 196, 119, .45), 0 0 10px rgba(230, 196, 119, .22);
}
.product-card .card-link { margin-top: auto; }
.app-product-card .module-panel { margin-top: auto; }
.app-product-card .product-type { color: #e6c477; }

/* Slightly more transparent surfaces throughout the site, while keeping text legible. */
.glass-card,
.capability-card,
.about-highlight-card,
.code-terminal-card,
.contact-wrapper {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .045),
    rgba(255, 255, 255, .012)
  ) !important;
  border-color: rgba(220, 235, 255, .14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .075),
    0 12px 34px rgba(0, 0, 0, .10) !important;
  backdrop-filter: blur(20px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(125%) !important;
}
.glass-card:hover,
.capability-card:hover {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, .075),
    rgba(255, 255, 255, .022)
  ) !important;
  border-color: rgba(220, 235, 255, .24) !important;
}
.module-panel {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 850px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 1.55rem; }
}


/* ===== Feature showcase redesign: editorial layout + glass feature tiles ===== */
.feature-showcase-section { position: relative; }
.feature-showcase-header { max-width: 900px; margin-bottom: 2.4rem; }
.feature-showcase-header .section-title { max-width: 780px; }
.feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
  align-items: stretch;
}
.feature-showcase-card {
  --feature-accent: #72c5ff;
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.4vw, 2rem);
  border-radius: 22px;
  border: 1px solid rgba(205, 226, 250, .20);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(64, 158, 236, .13), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 20px 48px rgba(0,0,0,.16);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.erp-feature-card {
  --feature-accent: #e7c477;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(220, 170, 75, .12), transparent 48%),
    linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.016));
}
.feature-showcase-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--feature-accent), transparent);
  opacity: .7;
}
.feature-showcase-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--feature-accent) 48%, transparent);
  background-color: rgba(255,255,255,.035);
}
.feature-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.45rem;
}
.feature-number {
  color: var(--feature-accent);
  font-size: .70rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.feature-status {
  color: rgba(225,237,250,.55);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.feature-status i {
  color: var(--feature-accent);
  font-size: .48rem;
  margin-right: .35rem;
  vertical-align: middle;
}
.feature-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.45rem;
}
.feature-showcase-icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #07182b;
  font-size: 1.45rem;
  background: linear-gradient(135deg, #a9dcff, #4b9ddd);
  box-shadow: 0 10px 28px rgba(65,151,219,.22);
}
.erp-feature-card .feature-showcase-icon {
  background: linear-gradient(135deg, #f5dda0, #c38d36);
  box-shadow: 0 10px 28px rgba(195,141,54,.2);
}
.feature-card-heading h3 {
  color: #f8fbff;
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.6vw, 1.42rem);
  line-height: 1.3;
  margin: .1rem 0 .45rem;
}
.feature-card-heading p {
  color: rgba(225,237,250,.70);
  font-size: .86rem;
  line-height: 1.6;
  margin: 0;
}
.feature-items-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .62rem;
  margin-bottom: 1.5rem;
}
.feature-tile {
  min-height: 59px;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .72rem .78rem;
  border-radius: 11px;
  background: rgba(255,255,255,.038);
  border: 1px solid rgba(220,235,255,.095);
  color: rgba(240,246,255,.86);
  font-size: .78rem;
  line-height: 1.4;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.feature-tile:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.075);
  border-color: rgba(220,235,255,.2);
}
.feature-tile > i {
  flex: 0 0 17px;
  width: 17px;
  color: var(--feature-accent);
  font-size: .92rem;
  text-align: center;
}
.feature-tile-wide { grid-column: 1 / -1; }
.feature-card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(220,235,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.feature-card-footer > span {
  color: rgba(225,237,250,.52);
  font-size: .75rem;
}
.feature-explore-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--feature-accent);
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease;
}
.feature-explore-link:hover { gap: .8rem; }
@media (max-width: 900px) {
  .feature-showcase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .feature-card-heading { gap: .8rem; }
  .feature-showcase-icon { flex-basis: 50px; width: 50px; height: 50px; }
  .feature-items-grid { grid-template-columns: 1fr; }
  .feature-tile-wide { grid-column: auto; }
  .feature-card-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-showcase-card, .feature-tile, .feature-explore-link { transition: none !important; }
}


/* ===== Premium Crytech navigation refresh ===== */
.site-header {
  padding: .78rem 0 !important;
  background: rgba(5, 12, 23, .82) !important;
  border-bottom: 1px solid rgba(192, 216, 244, .10) !important;
  box-shadow: 0 10px 35px rgba(0,0,0,.12);
  backdrop-filter: blur(22px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(145%) !important;
}
.nav-container {
  min-height: 66px;
  gap: clamp(1rem, 2vw, 2.25rem);
}
.brand-logo {
  flex: 0 0 auto;
  padding: .3rem .45rem .3rem 0;
}
.official-logo-wrap {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.official-logo {
  width: 205px !important;
  max-height: 66px !important;
  filter: drop-shadow(0 3px 12px rgba(0,0,0,.18));
}
.main-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.main-nav ul {
  align-items: center;
  justify-content: center;
  gap: clamp(.65rem, 1.35vw, 1.55rem) !important;
  margin: 0;
  padding: .48rem .72rem;
  border: 1px solid rgba(220,235,255,.075);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.main-nav li { margin: 0; padding: 0; }
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: .62rem .16rem;
  color: rgba(226,236,250,.76) !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
  letter-spacing: .05px;
  transition: color .22s ease, transform .22s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .24rem;
  width: 0;
  height: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, #8ecbff, #e6c477);
  transform: translateX(-50%);
  transition: width .24s ease;
}
.main-nav a:hover {
  color: #fff !important;
  transform: translateY(-1px);
}
.main-nav a:hover::after { width: 70%; }
.nav-actions {
  flex: 0 0 auto;
  align-items: center;
  gap: .65rem !important;
}
.nav-actions .btn {
  min-height: 43px;
  justify-content: center;
  padding: .65rem 1rem !important;
  border-radius: 12px !important;
  font-size: .82rem !important;
  gap: .55rem;
  white-space: nowrap;
}
.nav-facebook {
  background: rgba(255,255,255,.035) !important;
  border: 1px solid rgba(210,228,250,.16) !important;
  color: rgba(241,247,255,.9) !important;
}
.nav-facebook i { color: #9bcfff; }
.nav-facebook:hover {
  background: rgba(255,255,255,.085) !important;
  border-color: rgba(142,203,255,.42) !important;
  color: #fff !important;
}
.nav-contact {
  box-shadow: 0 6px 22px rgba(212,163,75,.20) !important;
}
.nav-contact i {
  font-size: .7rem;
  opacity: .72;
  transition: transform .2s ease;
}
.nav-contact:hover i { transform: translate(2px,-2px); }
.nav-toggle { display: none; }

@media (max-width: 1180px) and (min-width: 901px) {
  .nav-container { gap: .9rem; }
  .official-logo { width: 172px !important; }
  .main-nav ul { gap: .55rem !important; padding: .42rem .55rem; }
  .main-nav a { font-size: .76rem !important; }
  .nav-actions .btn { padding: .6rem .75rem !important; }
}
@media (max-width: 900px) {
  .site-header { padding: .58rem 0 !important; }
  .nav-container {
    position: relative;
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
  }
  .official-logo { width: 176px !important; max-height: 58px !important; }
  .nav-toggle {
    margin-left: auto;
    width: 46px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(220,235,255,.18);
    border-radius: 13px;
    background: rgba(255,255,255,.055);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
  }
  .nav-toggle:hover {
    background: rgba(255,255,255,.11);
    border-color: rgba(230,196,119,.45);
  }
  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 3px;
    background: #f2d18b;
    transition: transform .22s ease, opacity .22s ease;
  }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 120;
    display: block !important;
    padding: .55rem;
    border: 1px solid rgba(210,228,250,.16);
    border-radius: 18px;
    background: rgba(7,16,30,.96);
    box-shadow: 0 20px 45px rgba(0,0,0,.38);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top center;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .site-header.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .main-nav li { width: 100%; }
  .main-nav a {
    display: flex;
    width: 100%;
    padding: .85rem .95rem;
    border-radius: 10px;
    font-size: .92rem !important;
  }
  .main-nav a::after { display: none; }
  .main-nav a:hover {
    background: rgba(255,255,255,.065);
    transform: none;
  }
  .nav-actions { margin-left: 0; gap: .5rem !important; }
  .nav-actions .btn {
    min-height: 41px;
    padding: .58rem .78rem !important;
    font-size: .76rem !important;
  }
  .nav-actions .nav-facebook { display: none !important; }
}
@media (max-width: 480px) {
  .nav-container { gap: .55rem; }
  .official-logo { width: 150px !important; max-height: 52px !important; }
  .nav-actions .nav-contact { padding: .58rem .68rem !important; }
  .nav-actions .nav-contact i { display: none; }
  .nav-toggle { width: 42px; height: 41px; }
}


/* ===== Home hero spacing refinement ===== */
.hero-section {
  padding-top: 2.1rem !important;
  padding-bottom: 3.25rem !important;
}
.hero-badge {
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}
@media (max-width: 768px) {
  .hero-section {
    padding-top: 1.55rem !important;
    padding-bottom: 2.5rem !important;
  }
  .hero-badge {
    margin-bottom: 1rem !important;
  }
}


/* ===== Homepage showcase: real XFinance dashboard, animated stats and AI spotlight ===== */
.hero-section {
  padding-top: 2rem !important;
  padding-bottom: 2.8rem !important;
}
.hero-content { display: block !important; width: 100%; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
}
.hero-copy { min-width: 0; }
.hero-copy .hero-badge { margin-bottom: 1.2rem !important; }
.hero-copy .hero-title {
  max-width: 660px;
  font-size: clamp(2.65rem, 4.25vw, 4.35rem) !important;
  line-height: 1.12;
  margin-bottom: 1.15rem;
}
.hero-copy .hero-subtitle {
  max-width: 620px;
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}
.hero-copy .hero-cta-group {
  flex-direction: row !important;
  flex-wrap: wrap;
  width: auto !important;
  gap: .85rem;
  margin-bottom: 0;
}
.hero-copy .btn-large { padding: .92rem 1.2rem; font-size: .88rem; }
.hero-visual {
  position: relative;
  min-width: 0;
  padding: .65rem .3rem 1.6rem;
  perspective: 1400px;
}
.dashboard-window {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(190,215,245,.28);
  background: rgba(9,19,34,.76);
  box-shadow: 0 28px 75px rgba(0,0,0,.38), 0 0 0 6px rgba(255,255,255,.025), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotateY(-5deg) rotateX(1deg);
  transition: transform .55s ease, box-shadow .55s ease;
}
.dashboard-window:hover {
  transform: rotateY(0) rotateX(0) translateY(-4px);
  box-shadow: 0 34px 85px rgba(0,0,0,.44), 0 0 0 6px rgba(255,255,255,.035);
}
.dashboard-window-top {
  height: 42px;
  padding: 0 .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  background: linear-gradient(90deg, rgba(27,43,65,.98), rgba(12,25,43,.98));
  border-bottom: 1px solid rgba(210,230,255,.13);
}
.window-dots { display: flex; gap: 5px; flex: 0 0 auto; }
.window-dots span { width: 7px; height: 7px; border-radius: 50%; background: #d8b66c; opacity: .9; }
.window-dots span:nth-child(2) { background: #86c8ff; }
.window-dots span:nth-child(3) { background: #55d4a2; }
.dashboard-window-label {
  color: rgba(237,245,255,.83);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}
.dashboard-window-label i { color: #35d6a0; font-size: .48rem; margin-right: .35rem; }
.dashboard-window-chip {
  color: #bcdcff;
  font-size: .61rem;
  white-space: nowrap;
  padding: .32rem .55rem;
  border: 1px solid rgba(175,211,250,.18);
  border-radius: 20px;
  background: rgba(255,255,255,.045);
}
.dashboard-image-wrap { overflow: hidden; background: #111d30; }
.dashboard-preview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 844;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s ease;
}
.dashboard-window:hover .dashboard-preview-image { transform: scale(1.018); }
.hero-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .62rem;
  padding: .7rem .9rem;
  border: 1px solid rgba(220,235,255,.22);
  border-radius: 13px;
  background: rgba(12,27,46,.82);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: heroFloat 5s ease-in-out infinite;
}
.hero-float-ai { left: -1rem; bottom: .2rem; }
.hero-float-mobile { right: -.35rem; top: .15rem; animation-delay: -2.4s; }
.float-icon {
  width: 32px; height: 32px; flex: 0 0 32px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #08182a;
  background: linear-gradient(135deg,#f1d28c,#c39443);
}
.hero-float-mobile .float-icon { background: linear-gradient(135deg,#b9e2ff,#64aee7); }
.hero-float-card strong, .hero-float-card small { display: block; }
.hero-float-card strong { color: #f8fbff; font-size: .72rem; }
.hero-float-card small { color: rgba(225,237,250,.68); font-size: .62rem; margin-top: 2px; }
@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.stats-strip-modern {
  max-width: none !important;
  width: min(850px, 100%) !important;
  margin: 1.8rem auto 0 0 !important;
  padding: 1.05rem 1.4rem !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-around !important;
  gap: 1rem !important;
  border: 1px solid rgba(220,235,255,.15) !important;
  border-radius: 16px !important;
  background: linear-gradient(110deg,rgba(255,255,255,.065),rgba(255,255,255,.018)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 14px 38px rgba(0,0,0,.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.stats-strip-modern .stat-card { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.stats-strip-modern .stat-num {
  color: #f0d18c;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem,2.3vw,2rem);
  font-weight: 800;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stats-strip-modern .stat-label { color: rgba(228,239,252,.72); font-size: .76rem; }
.stats-strip-modern .stat-divider { width: 1px; height: 36px; background: rgba(220,235,255,.17); }

.ai-spotlight {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(220px,.8fr);
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 1.8rem;
  padding: clamp(1.5rem,3vw,2.5rem);
  border: 1px solid rgba(205,226,250,.2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 45%,rgba(66,146,230,.18),transparent 34%),
    linear-gradient(115deg,rgba(255,255,255,.075),rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 20px 50px rgba(0,0,0,.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.ai-spotlight-copy { position: relative; z-index: 2; }
.ai-spotlight-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #e8c77f; font-size: .68rem; font-weight: 800; letter-spacing: 1.3px;
  margin-bottom: .85rem;
}
.ai-spotlight-copy h3 {
  color: #f8fbff; font-family: var(--font-heading);
  font-size: clamp(1.55rem,2.8vw,2.25rem); line-height: 1.2; margin-bottom: .8rem;
}
.ai-spotlight-copy p {
  color: rgba(229,239,251,.76); max-width: 650px; font-size: .94rem; line-height: 1.75; margin-bottom: 1rem;
}
.ai-spotlight-link {
  display: inline-flex; align-items: center; gap: .55rem;
  color: #f0d18c; font-weight: 800; font-size: .86rem; text-decoration: none;
}
.ai-spotlight-link i { transition: transform .2s ease; }
.ai-spotlight-link:hover i { transform: translateX(4px); }
.ai-spotlight-visual {
  position: relative; min-height: 210px; display: grid; place-items: center;
}
.ai-core {
  position: relative; z-index: 2; width: 88px; height: 88px; display: grid; place-items: center;
  border-radius: 27px; color: #07182b; font-size: 2.1rem;
  background: linear-gradient(145deg,#f4dda4,#c18d3c);
  box-shadow: 0 0 45px rgba(226,185,103,.28),inset 0 1px 0 rgba(255,255,255,.7);
  animation: aiCorePulse 4s ease-in-out infinite;
}
.ai-orbit {
  position: absolute; width: 180px; height: 110px; border: 1px solid rgba(146,202,250,.32);
  border-radius: 50%; transform: rotate(-25deg);
}
.orbit-two { width: 220px; height: 145px; transform: rotate(42deg); border-color: rgba(231,196,119,.24); }
.ai-orbit-node {
  position: absolute; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid rgba(220,235,255,.22); border-radius: 12px;
  color: #b9dcff; background: rgba(13,30,51,.9); box-shadow: 0 8px 22px rgba(0,0,0,.2);
}
.node-one { top: 18px; left: 22%; }
.node-two { right: 18%; top: 42%; color: #efd18f; }
.node-three { bottom: 12px; left: 30%; color: #a9e9d4; }
@keyframes aiCorePulse { 0%,100% { transform: scale(1); box-shadow: 0 0 35px rgba(226,185,103,.22); } 50% { transform: scale(1.06); box-shadow: 0 0 55px rgba(226,185,103,.38); } }

@media (max-width: 1050px) {
  .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy .hero-title { max-width: 850px; }
  .hero-visual { width: min(850px,100%); margin: 0 auto; }
  .stats-strip-modern { margin-left: auto !important; }
}
@media (max-width: 700px) {
  .hero-section { padding-top: 1.4rem !important; padding-bottom: 2rem !important; }
  .hero-layout { gap: 1.4rem; }
  .hero-copy .hero-title { font-size: clamp(2.2rem,9vw,3rem) !important; }
  .hero-copy .hero-cta-group { flex-direction: column !important; align-items: stretch; }
  .hero-copy .hero-cta-group .btn { width: 100%; justify-content: center; }
  .dashboard-window { transform: none; border-radius: 13px; }
  .dashboard-window-top { height: 36px; padding: 0 .6rem; }
  .dashboard-window-label { font-size: .52rem; }
  .dashboard-window-chip { display: none; }
  .hero-float-card { padding: .5rem .65rem; }
  .hero-float-mobile { right: -.1rem; }
  .hero-float-ai { left: -.1rem; }
  .stats-strip-modern { width: 100% !important; padding: .9rem !important; gap: .6rem !important; }
  .stats-strip-modern .stat-label { font-size: .65rem; }
  .stats-strip-modern .stat-num { font-size: 1.35rem; }
  .ai-spotlight { grid-template-columns: 1fr; }
  .ai-spotlight-visual { min-height: 175px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-float-card,.ai-core { animation: none !important; }
  .dashboard-window,.dashboard-preview-image { transition: none !important; }
}


/* ===== XFinance AI animated introduction showcase ===== */
.ai-intro-visual {
  min-height: 340px !important;
  isolation: isolate;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 47%, rgba(39,115,191,.20), transparent 43%),
    radial-gradient(ellipse at 50% 50%, rgba(224,184,103,.08), transparent 68%);
}
.ai-ambient-glow {
  position: absolute;
  width: 260px; height: 260px;
  left: 50%; top: 48%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,166,244,.22), rgba(50,113,188,.08) 42%, transparent 72%);
  filter: blur(12px);
  animation: aiAmbientPulse 4.8s ease-in-out infinite;
}
.ai-neural-ring {
  position: absolute;
  left: 50%; top: 47%;
  border: 1px solid rgba(112,190,255,.34);
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}
.neural-ring-one {
  width: 230px; height: 112px;
  transform: translate(-50%,-50%) rotate(-27deg);
  animation: neuralOrbitOne 13s linear infinite;
}
.neural-ring-two {
  width: 255px; height: 145px;
  border-color: rgba(230,193,119,.34);
  transform: translate(-50%,-50%) rotate(48deg);
  animation: neuralOrbitTwo 17s linear infinite;
}
.neural-ring-three {
  width: 190px; height: 190px;
  border-style: dashed;
  border-color: rgba(114,197,255,.18);
  transform: translate(-50%,-50%);
  animation: neuralOrbitThree 24s linear infinite;
}
.ai-orb-shell {
  position: absolute;
  left: 50%; top: 46%;
  width: 126px; height: 126px;
  transform: translate(-50%,-50%);
  display: grid; place-items: center;
  border-radius: 38px;
  background: linear-gradient(145deg,rgba(241,211,145,.98),rgba(190,139,54,.98));
  box-shadow:
    0 0 0 8px rgba(226,190,117,.07),
    0 0 35px rgba(224,181,91,.30),
    0 0 85px rgba(57,149,230,.22),
    inset 0 1px 0 rgba(255,255,255,.75);
  animation: aiOrbFloat 4.2s ease-in-out infinite;
}
.ai-orb-core {
  position: relative;
  z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  color: #071b31;
}
.ai-orb-symbol { font-size: 2.55rem; line-height: 1; }
.ai-orb-label {
  font-size: .62rem; font-weight: 900; letter-spacing: 3px;
}
.ai-orb-scan {
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.4);
  overflow: hidden;
}
.ai-orb-scan::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -45%;
  height: 38%;
  background: linear-gradient(180deg,transparent,rgba(255,255,255,.38),transparent);
  animation: aiScan 3.2s ease-in-out infinite;
}
.ai-particle {
  position: absolute;
  z-index: 2;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9bd7ff;
  box-shadow: 0 0 12px 3px rgba(99,184,255,.65);
}
.particle-one { left: 20%; top: 25%; animation: particleDriftOne 6s ease-in-out infinite; }
.particle-two { right: 19%; top: 29%; background:#f0d18c; box-shadow:0 0 12px 3px rgba(240,209,140,.6); animation:particleDriftTwo 7s ease-in-out infinite; }
.particle-three { left: 25%; bottom: 25%; animation:particleDriftTwo 5.5s ease-in-out infinite reverse; }
.particle-four { right: 24%; bottom: 22%; background:#a7f0d8; box-shadow:0 0 12px 3px rgba(117,230,191,.55); animation:particleDriftOne 7s ease-in-out infinite reverse; }
.particle-five { left: 50%; top: 9%; width:4px;height:4px; animation:particleDriftThree 5s ease-in-out infinite; }
.ai-intro-caption {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: .48rem;
  color: rgba(217,235,255,.62);
  font-size: .61rem; font-weight: 800; letter-spacing: 1.7px;
  white-space: nowrap;
}
.ai-intro-caption strong { color: #f0d18c; letter-spacing: 1.1px; }
.ai-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #50dfad;
  box-shadow: 0 0 0 4px rgba(80,223,173,.10),0 0 12px rgba(80,223,173,.7);
  animation: aiLivePulse 1.8s ease-in-out infinite;
}
.ai-float-card {
  position: absolute;
  z-index: 4;
  display: flex; align-items: center; gap: .58rem;
  padding: .62rem .78rem;
  border: 1px solid rgba(202,226,250,.20);
  border-radius: 12px;
  background: linear-gradient(135deg,rgba(17,37,61,.88),rgba(11,25,43,.72));
  box-shadow: 0 12px 30px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: aiCardFloat 5.5s ease-in-out infinite;
}
.ai-float-icon {
  width: 31px; height: 31px; flex: 0 0 31px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: #b6ddff;
  background: rgba(82,158,224,.16);
  border: 1px solid rgba(130,190,240,.18);
  font-size: .88rem;
}
.ai-float-card small,.ai-float-card strong { display:block; white-space:nowrap; }
.ai-float-card small { color:rgba(180,210,240,.62);font-size:.53rem;font-weight:800;letter-spacing:.9px;margin-bottom:2px; }
.ai-float-card strong { color:#f2f7ff;font-size:.68rem;font-weight:700; }
.ai-float-insight { left: 1%; top: 23%; }
.ai-float-report { right: 1%; top: 32%; animation-delay: -1.8s; }
.ai-float-assistant { left: 50%; bottom: 7%; transform: translateX(-50%); animation-delay: -3.1s; }
.ai-float-assistant .ai-float-icon { color:#f0d18c;background:rgba(220,174,85,.13);border-color:rgba(230,193,119,.2); }
.ai-waveform {
  position: absolute;
  left: 50%; bottom: 1%;
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content:center; gap:3px;
  height: 20px; opacity:.55;
}
.ai-waveform span {
  width: 3px; height: 5px; border-radius: 3px;
  background: linear-gradient(180deg,#f0d18c,#64baff);
  animation: aiWave 1.1s ease-in-out infinite alternate;
}
.ai-waveform span:nth-child(3n) { animation-delay:-.35s; }
.ai-waveform span:nth-child(3n+1) { animation-delay:-.7s; }
.ai-waveform span:nth-child(4n) { animation-duration:.8s; }

@keyframes aiAmbientPulse { 0%,100%{opacity:.65;transform:translate(-50%,-50%) scale(.88)}50%{opacity:1;transform:translate(-50%,-50%) scale(1.12)} }
@keyframes neuralOrbitOne { to{transform:translate(-50%,-50%) rotate(333deg)} }
@keyframes neuralOrbitTwo { to{transform:translate(-50%,-50%) rotate(408deg)} }
@keyframes neuralOrbitThree { to{transform:translate(-50%,-50%) rotate(360deg)} }
@keyframes aiOrbFloat { 0%,100%{margin-top:0;box-shadow:0 0 0 8px rgba(226,190,117,.07),0 0 35px rgba(224,181,91,.30),0 0 85px rgba(57,149,230,.22),inset 0 1px 0 rgba(255,255,255,.75)}50%{margin-top:-9px;box-shadow:0 0 0 13px rgba(226,190,117,.045),0 0 48px rgba(224,181,91,.38),0 0 105px rgba(57,149,230,.28),inset 0 1px 0 rgba(255,255,255,.75)} }
@keyframes aiScan { 0%{top:-45%;opacity:0}20%{opacity:.7}80%{opacity:.7}100%{top:110%;opacity:0} }
@keyframes aiLivePulse { 0%,100%{opacity:1;box-shadow:0 0 0 4px rgba(80,223,173,.10),0 0 12px rgba(80,223,173,.7)}50%{opacity:.55;box-shadow:0 0 0 7px rgba(80,223,173,.04),0 0 18px rgba(80,223,173,.9)} }
@keyframes aiCardFloat { 0%,100%{margin-top:0}50%{margin-top:-7px} }
@keyframes aiWave { from{height:4px;opacity:.45}to{height:17px;opacity:1} }
@keyframes particleDriftOne { 0%,100%{transform:translate(0,0);opacity:.6}50%{transform:translate(12px,-13px);opacity:1} }
@keyframes particleDriftTwo { 0%,100%{transform:translate(0,0);opacity:.5}50%{transform:translate(-10px,12px);opacity:1} }
@keyframes particleDriftThree { 0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(18px);opacity:1} }

@media (max-width: 700px) {
  .ai-intro-visual { min-height: 300px !important; margin-top: .5rem; }
  .ai-orb-shell { width: 104px; height: 104px; border-radius: 31px; }
  .ai-orb-symbol { font-size: 2.1rem; }
  .ai-neural-ring.neural-ring-one { width: 195px;height:96px; }
  .ai-neural-ring.neural-ring-two { width: 210px;height:120px; }
  .ai-neural-ring.neural-ring-three { width:160px;height:160px; }
  .ai-float-card { padding:.48rem .55rem;gap:.4rem; }
  .ai-float-icon { width:26px;height:26px;flex-basis:26px;font-size:.75rem; }
  .ai-float-card small { font-size:.46rem; }
  .ai-float-card strong { font-size:.59rem; }
  .ai-float-insight { left:0;top:21%; }
  .ai-float-report { right:0;top:31%; }
  .ai-float-assistant { bottom:7%; }
  .ai-intro-caption { font-size:.53rem;letter-spacing:1px; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-intro-visual *,
  .ai-intro-visual *::before,
  .ai-intro-visual *::after { animation:none !important; }
}


/* Replace only the central brain glyph with the new AI processor artwork.
   Existing orbit rings, particles and all three floating feature cards remain unchanged. */
.ai-orb-shell {
  width: 138px !important;
  height: 138px !important;
  background: transparent !important;
  border-radius: 36px !important;
  box-shadow: none !important;
}
.ai-orb-core.ai-orb-image-core {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 36px;
  overflow: visible;
}
.ai-processor-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 36px;
  filter: drop-shadow(0 0 22px rgba(226,181,91,.30));
  animation: aiProcessorGlow 3.8s ease-in-out infinite;
}
@keyframes aiProcessorGlow {
  0%,100% { filter: drop-shadow(0 0 17px rgba(226,181,91,.24)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 28px rgba(226,181,91,.48)); transform: scale(1.035); }
}
@media (max-width: 700px) {
  .ai-orb-shell { width: 118px !important; height: 118px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-processor-image { animation: none !important; }
}


/* ===== XFinance Microfinance dashboard showcase ===== */
.microfinance-showcase-section {
  position: relative;
  padding-top: clamp(2.8rem, 5vw, 4.8rem);
  padding-bottom: clamp(2.8rem, 5vw, 4.8rem);
}
.microfinance-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  gap: clamp(2rem, 4.2vw, 4.5rem);
}
.microfinance-preview-visual {
  min-width: 0;
  position: relative;
  padding: .65rem .35rem 1.8rem;
}
.microfinance-dashboard-window {
  transform: rotateY(4deg) rotateX(1deg);
}
.microfinance-dashboard-window:hover {
  transform: rotateY(0) rotateX(0) translateY(-4px);
}
.microfinance-preview-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
}
.microfinance-preview-caption {
  position: absolute;
  right: 0;
  bottom: .15rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(220,235,255,.18);
  border-radius: 12px;
  background: rgba(10,24,42,.86);
  color: rgba(235,244,255,.82);
  font-size: .76rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.microfinance-preview-caption i { color: #e8c77f; }
.microfinance-showcase-copy { min-width: 0; }
.microfinance-showcase-copy .section-title {
  max-width: 620px;
  margin: .8rem 0 1rem;
}
.microfinance-showcase-copy > p {
  color: rgba(229,239,251,.76);
  font-size: .98rem;
  line-height: 1.8;
  margin-bottom: 1.35rem;
}
.microfinance-benefit-list {
  display: grid;
  gap: .85rem;
  margin: 0 0 1.7rem;
}
.microfinance-benefit-list > div {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  color: rgba(238,246,255,.88);
  font-size: .9rem;
  line-height: 1.55;
}
.microfinance-benefit-list i {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  margin-top: .05rem;
  border-radius: 50%;
  color: #071a2c;
  background: linear-gradient(135deg,#a9e9d4,#57caa8);
  font-size: .62rem;
}
.microfinance-showcase-cta { display: inline-flex; align-items: center; gap: .7rem; }
@media (max-width: 980px) {
  .microfinance-showcase-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .microfinance-preview-visual { width: min(850px,100%); margin: 0 auto; }
  .microfinance-showcase-copy { max-width: 850px; }
}
@media (max-width: 600px) {
  .microfinance-preview-caption { right: .2rem; font-size: .66rem; padding: .55rem .7rem; }
  .microfinance-showcase-cta { width: 100%; justify-content: center; }
  .microfinance-dashboard-window { transform: none; }
}


/* ===== Homepage: side-by-side XFinance product dashboard showcase ===== */
.xfinance-showcase-section {
  position: relative;
  padding-top: clamp(2.7rem, 4.5vw, 4.3rem);
  padding-bottom: clamp(2.8rem, 4.8vw, 4.6rem);
}
.xfinance-showcase-header {
  max-width: 900px;
  margin: 0 auto 2.1rem;
  text-align: center;
}
.xfinance-showcase-header .section-title { max-width: 850px; margin-left: auto; margin-right: auto; }
.xfinance-showcase-header .section-desc { max-width: 720px; margin-left: auto; margin-right: auto; }
.xfinance-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(1.1rem,2vw,1.65rem);
  align-items: stretch;
}
.xfinance-dashboard-card {
  --product-accent: #8bcfff;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem,1.65vw,1.45rem);
  border-radius: 21px;
  border: 1px solid rgba(210,230,255,.17);
  background:
    radial-gradient(ellipse at 0 0,rgba(76,160,231,.10),transparent 48%),
    linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.016));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09),0 18px 48px rgba(0,0,0,.17);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  transition: transform .35s ease,border-color .35s ease,box-shadow .35s ease;
}
.xfinance-erp-card {
  --product-accent: #e8c77f;
  background:
    radial-gradient(ellipse at 100% 0,rgba(214,166,76,.105),transparent 48%),
    linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.016));
}
.xfinance-dashboard-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb,var(--product-accent) 42%,transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 24px 56px rgba(0,0,0,.23);
}
.xfinance-card-heading {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.05rem;
}
.xfinance-product-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #081a2b;
  background: linear-gradient(140deg,#b8e2ff,#559fdb);
  box-shadow: 0 8px 22px rgba(77,158,221,.2);
  font-size: 1.15rem;
}
.xfinance-erp-card .xfinance-product-icon {
  background: linear-gradient(140deg,#f5dda1,#c28f3e);
  box-shadow: 0 8px 22px rgba(194,143,62,.2);
}
.xfinance-product-kicker {
  display: block;
  color: var(--product-accent);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1.25px;
  margin: .05rem 0 .28rem;
}
.xfinance-product-heading-copy h3 {
  color: #f7fbff;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem,1.55vw,1.35rem);
  line-height: 1.25;
  margin: 0 0 .3rem;
}
.xfinance-product-heading-copy p {
  color: rgba(228,239,252,.7);
  font-size: .82rem;
  line-height: 1.5;
  margin: 0;
}
.xfinance-dashboard-frame {
  overflow: hidden;
  border: 1px solid rgba(198,222,250,.22);
  border-radius: 13px;
  background: rgba(7,15,27,.82);
  box-shadow: 0 12px 30px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.12);
}
.xfinance-dashboard-frame .dashboard-window-top {
  height: 35px;
  padding: 0 .7rem;
}
.xfinance-dashboard-frame .dashboard-window-label { font-size: .58rem; }
.xfinance-dashboard-frame .dashboard-window-chip { font-size: .56rem; padding: .25rem .45rem; }
.xfinance-showcase-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: top center;
  transition: transform .55s ease;
}
.xfinance-dashboard-card:hover .xfinance-showcase-image { transform: scale(1.018); }
.xfinance-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: auto;
  padding-top: 1rem;
}
.xfinance-card-footer > span {
  color: rgba(224,237,251,.58);
  font-size: .68rem;
}
.xfinance-card-footer > span i { color: var(--product-accent); margin-right: .3rem; }
.xfinance-explore-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--product-accent);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
  transition: gap .2s ease;
}
.xfinance-explore-link:hover { gap: .7rem; }
@media (max-width: 760px) {
  .xfinance-dashboard-grid { grid-template-columns: 1fr; }
  .xfinance-showcase-header { text-align: left; }
  .xfinance-showcase-header .section-title,
  .xfinance-showcase-header .section-desc { margin-left: 0; margin-right: 0; }
}
@media (max-width: 480px) {
  .xfinance-dashboard-card { padding: .85rem; border-radius: 16px; }
  .xfinance-card-heading { gap: .7rem; }
  .xfinance-product-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .xfinance-dashboard-frame .dashboard-window-chip { display: none; }
  .xfinance-card-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .xfinance-dashboard-card,.xfinance-showcase-image,.xfinance-explore-link { transition: none !important; }
}


/* ===== Crytech homepage: slightly wider hero and more balanced central spacing ===== */
@media (min-width: 1051px) {
  .hero-section > .container,
  .hero-content {
    width: 95.5% !important;
    max-width: 1380px !important;
  }
  .hero-layout {
    width: 100%;
    grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr) !important;
    gap: clamp(3rem,5.1vw,5.4rem) !important;
    align-items: center;
  }
  .hero-copy { padding-left: .15rem; }
  .hero-visual-floating { margin-right: -.15rem; }
}

/* ===== Option 02: translucent device-like floating dashboard screens ===== */
.hero-visual-floating {
  position: relative;
  min-width: 0;
  min-height: 510px;
  padding: 0 !important;
  overflow: visible;
  isolation: isolate;
  perspective: 1500px;
}
.showcase-glow {
  position: absolute;
  z-index: -3;
  inset: 8% 2% 5%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 52% 48%,rgba(34,130,232,.20),transparent 59%),radial-gradient(ellipse at 78% 72%,rgba(218,169,78,.10),transparent 48%);
  filter: blur(24px);
}
.showcase-orbit {
  position: absolute;
  z-index: -2;
  left: 12%; top: 8%; width: 74%; height: 77%;
  border: 1px solid rgba(116,184,255,.14);
  border-radius: 50%; transform: rotate(-24deg); pointer-events: none;
}
.showcase-orbit-two { left: 18%; top: 15%; width: 70%; height: 70%; border-color: rgba(231,195,120,.14); transform: rotate(28deg); }
.floating-dashboard {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(196,224,252,.24);
  border-radius: 14px;
  background: rgba(6,17,31,.10);
  box-shadow: 0 18px 46px rgba(0,0,0,.20),0 0 18px rgba(74,155,222,.08),inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(2px) saturate(125%);
  -webkit-backdrop-filter: blur(2px) saturate(125%);
  transform-style: preserve-3d;
  will-change: transform;
  opacity: 1;
}
.floating-dashboard img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: contain; object-position: center top;
  opacity: 1;
  filter: saturate(1.12) contrast(1.06) drop-shadow(0 2px 9px rgba(0,0,0,.10));
}
.floating-dashboard-top {
  min-height: 31px; padding: 0 .72rem;
  display: flex; align-items: center; gap: .62rem;
  color: rgba(245,249,255,.96);
  background: linear-gradient(100deg,rgba(17,38,62,.58),rgba(9,23,41,.42));
  border-bottom: 1px solid rgba(204,228,250,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .58rem; letter-spacing: .075em; white-space: nowrap;
}
.floating-dashboard-top b { font-weight: 800; }
.floating-dashboard-top small { margin-left: .25rem; color: rgba(190,215,242,.82); font-size: .52rem; font-weight: 600; letter-spacing: .06em; }
.floating-window-dots { display: inline-flex; gap: 4px; flex: 0 0 auto; }
.floating-window-dots i { width: 6px; height: 6px; display: block; border-radius: 50%; background: #e3bd72; }
.floating-window-dots i:nth-child(2) { background: #83c8ff; }
.floating-window-dots i:nth-child(3) { background: #62d6a9; }
.floating-window-mark { margin-left: auto; color: #a8d2fa; font-size: .62rem; }
.floating-dashboard-main {
  z-index: 1; top: 4%; right: 3%; width: 68%;
  animation: floatingDashboardMainSide 18s ease-in-out infinite;
}
.floating-dashboard-micro {
  z-index: 3; left: 0; bottom: 1%; width: 39%;
  animation: floatingDashboardMicroSide 16.5s ease-in-out infinite -4s;
}
.floating-dashboard-ai {
  z-index: 4; right: 0; bottom: 0; width: 36%;
  animation: floatingDashboardAISide 19s ease-in-out infinite -7s;
}
.showcase-floating-tag {
  position: absolute; z-index: 7;
  display: flex; align-items: center; gap: .55rem;
  padding: .58rem .78rem;
  border: 1px solid rgba(214,229,249,.24); border-radius: 12px;
  background: rgba(8,20,36,.68);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: showcaseTagSide 14s ease-in-out infinite;
}
.showcase-tag-ai { left: 0; top: 1%; }
.showcase-tag-cloud { right: 0; top: 42%; animation-delay: -6s; }
.showcase-tag-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #0a1728; background: linear-gradient(135deg,#f2d99e,#c89545); font-size: .82rem; }
.showcase-floating-tag b,.showcase-floating-tag small { display: block; }
.showcase-floating-tag b { color: #f8fbff; font-size: .66rem; }
.showcase-floating-tag small { color: rgba(228,239,252,.82); font-size: .57rem; margin-top: 2px; }
@keyframes floatingDashboardMainSide {
  0%,100% { transform: translate3d(0,0,0) rotateY(-3deg) rotateX(.6deg); }
  25% { transform: translate3d(-7px,-4px,0) rotateY(-2deg) rotateX(.3deg); }
  58% { transform: translate3d(5px,-7px,0) rotateY(-3.8deg) rotateX(.8deg); }
  82% { transform: translate3d(2px,-2px,0) rotateY(-2.5deg) rotateX(.4deg); }
}
@keyframes floatingDashboardMicroSide {
  0%,100% { transform: translate3d(0,0,0) rotateY(4deg) rotateX(.5deg); }
  28% { transform: translate3d(8px,-4px,0) rotateY(3deg) rotateX(.2deg); }
  62% { transform: translate3d(-5px,-7px,0) rotateY(5deg) rotateX(.8deg); }
  84% { transform: translate3d(-1px,-2px,0) rotateY(3.5deg) rotateX(.3deg); }
}
@keyframes floatingDashboardAISide {
  0%,100% { transform: translate3d(0,0,0) rotateY(-3deg) rotateX(.4deg); }
  30% { transform: translate3d(-7px,-5px,0) rotateY(-2deg) rotateX(.2deg); }
  64% { transform: translate3d(5px,-6px,0) rotateY(-4deg) rotateX(.7deg); }
  86% { transform: translate3d(1px,-2px,0) rotateY(-2.8deg) rotateX(.3deg); }
}
@keyframes showcaseTagSide {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(4px,-4px,0); }
}
@media (max-width: 1050px) {
  .hero-visual-floating { width: min(850px,100%); min-height: 495px; margin: 0 auto; }
  .floating-dashboard-main { width: 72%; right: 4%; }
  .floating-dashboard-micro { width: 42%; }
  .floating-dashboard-ai { width: 40%; }
}
@media (max-width: 700px) {
  .hero-visual-floating { min-height: clamp(315px,88vw,390px); margin-top: .15rem; }
  .floating-dashboard { border-radius: 10px; }
  .floating-dashboard-top { min-height: 25px; padding: 0 .42rem; gap: .38rem; font-size: .43rem; }
  .floating-dashboard-top small { font-size: .38rem; }
  .floating-window-dots { gap: 3px; }
  .floating-window-dots i { width: 4px; height: 4px; }
  .floating-dashboard-main { width: 84%; top: 6%; right: 3%; }
  .floating-dashboard-micro { width: 48%; left: 0; bottom: 1%; }
  .floating-dashboard-ai { width: 45%; right: 0; bottom: 0; }
  .showcase-floating-tag { padding: .4rem .52rem; gap: .35rem; border-radius: 9px; }
  .showcase-tag-icon { width: 23px; height: 23px; font-size: .65rem; border-radius: 7px; }
  .showcase-floating-tag b { font-size: .53rem; }
  .showcase-floating-tag small { font-size: .45rem; }
}
@media (max-width: 390px) {
  .hero-visual-floating { min-height: 310px; }
  .floating-dashboard-main { width: 86%; }
  .floating-dashboard-micro { width: 49%; }
  .floating-dashboard-ai { width: 45%; }
  .showcase-tag-cloud { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-dashboard,.showcase-floating-tag { animation: none !important; }
}

/* ===== Site-wide glass reduction: lighter fills, less blur, visible background ===== */
.site-header {
  background: rgba(5, 12, 23, .48) !important;
  backdrop-filter: blur(7px) saturate(108%) !important;
  -webkit-backdrop-filter: blur(7px) saturate(108%) !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.07) !important;
}
.main-nav ul {
  background: rgba(255,255,255,.012) !important;
  border-color: rgba(220,235,255,.045) !important;
}
.main-nav a { background: transparent !important; }
.glass-card,
.capability-card,
.premium-purpose-card,
.about-highlight-card,
.module-panel,
.feature-showcase-card,
.feature-tile,
.stats-strip,
.stats-strip-modern,
.ai-spotlight,
.ai-float-card,
.ai-float-insight,
.ai-float-report,
.ai-float-assistant,
.xfinance-dashboard-card,
.xfinance-dashboard-frame,
.app-module-panel,
.app-product-card,
.product-card,
.solution-card,
.purpose-card,
.vision-card,
.contact-wrapper,
.contact-info,
.contact-form-container,
.contact-form {
  background: rgba(7, 18, 32, .10) !important;
  background-image: none !important;
  border-color: rgba(210,230,250,.105) !important;
  box-shadow: 0 9px 24px rgba(0,0,0,.075) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.premium-purpose-card,
.feature-showcase-card,
.xfinance-dashboard-card,
.ai-spotlight {
  border-color: rgba(210,230,250,.12) !important;
}
.feature-tile,
.about-highlight-card,
.module-panel,
.xfinance-dashboard-frame,
.ai-float-insight,
.ai-float-report {
  background: rgba(7,18,32,.065) !important;
}
.feature-tile:hover,
.glass-card:hover,
.capability-card:hover,
.premium-purpose-card:hover {
  background: rgba(12,27,45,.15) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.09) !important;
  border-color: rgba(220,235,255,.17) !important;
}
.stats-strip,
.stats-strip-modern {
  background: rgba(7,18,32,.075) !important;
  border-color: rgba(220,235,255,.09) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.dashboard-window-top,
.terminal-header,
.xfinance-card-heading,
.xfinance-card-footer {
  background: rgba(8,20,36,.10) !important;
  border-color: rgba(210,230,250,.08) !important;
}
.btn-glass {
  background: rgba(255,255,255,.018) !important;
  border-color: rgba(255,255,255,.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.contact-wrapper .form-group input,
.contact-wrapper .form-group select,
.contact-wrapper .form-group textarea {
  background: rgba(5,12,22,.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
@media (max-width: 900px) {
  .main-nav {
    background: rgba(7,16,30,.86) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
  }
}


/* ===== Latest homepage refinement: balanced side space, softer glass, smaller ERP showcase ===== */
@media (min-width: 1051px) {
  .hero-section > .container,
  .hero-content {
    width: 94% !important;
    max-width: 1360px !important;
  }
  .hero-layout {
    gap: clamp(3rem, 4.8vw, 5.1rem) !important;
  }
}

/* A little visible glass finish, while keeping the page background visible. */
.glass-card,
.capability-card,
.premium-purpose-card,
.about-highlight-card,
.code-terminal-card,
.contact-wrapper,
.feature-showcase-card,
.feature-tile,
.stats-strip,
.stats-strip-modern,
.ai-spotlight,
.ai-float-card,
.ai-float-insight,
.ai-float-report,
.ai-float-assistant,
.xfinance-dashboard-card,
.xfinance-dashboard-frame,
.product-card,
.solution-card,
.purpose-card,
.vision-card,
.contact-info,
.contact-form-container,
.contact-form,
.module-panel {
  background-color: rgba(8, 20, 36, .105) !important;
  border-color: rgba(205, 228, 250, .125) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 8px 23px rgba(0,0,0,.065) !important;
  backdrop-filter: blur(4px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(4px) saturate(112%) !important;
}
.glass-card:hover,
.capability-card:hover,
.premium-purpose-card:hover,
.feature-showcase-card:hover,
.feature-tile:hover,
.xfinance-dashboard-card:hover {
  background-color: rgba(10, 25, 43, .15) !important;
  border-color: rgba(215, 233, 250, .17) !important;
}

/* The floating device frames get only a faint glass edge; their contents stay crisp. */
.floating-dashboard {
  background: rgba(7, 18, 32, .075) !important;
  border-color: rgba(200, 226, 249, .145) !important;
  box-shadow:
    0 14px 36px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.085) !important;
  backdrop-filter: blur(3px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(110%) !important;
}
.floating-dashboard-top {
  background: rgba(10, 24, 42, .18) !important;
  border-bottom-color: rgba(210,230,250,.10) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}
.showcase-floating-tag {
  background: rgba(8, 20, 36, .19) !important;
  border-color: rgba(210,230,250,.14) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.10) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* Slightly reduce the main ERP screen on desktop, retaining a full clear view. */
@media (min-width: 1051px) {
  .floating-dashboard-main {
    width: 65% !important;
    right: 4% !important;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .floating-dashboard-main {
    width: 70% !important;
    right: 4% !important;
  }
}


/* ===== Homepage fine tuning: restore a little side margin ===== */
@media (min-width: 1051px) {
  .hero-section > .container,
  .hero-content {
    width: 94% !important;
    max-width: 1360px !important;
  }
  .hero-layout {
    gap: clamp(3rem, 4.8vw, 5.1rem) !important;
  }
}

/* ===== Slight glass finish with the background still clearly visible ===== */
.glass-card,
.capability-card,
.premium-purpose-card,
.about-highlight-card,
.code-terminal-card,
.contact-wrapper,
.feature-showcase-card,
.feature-tile,
.stats-strip,
.stats-strip-modern,
.ai-spotlight,
.ai-float-card,
.ai-float-insight,
.ai-float-report,
.ai-float-assistant,
.xfinance-dashboard-card,
.xfinance-dashboard-frame,
.product-card,
.solution-card,
.purpose-card,
.vision-card,
.contact-info,
.contact-form-container,
.contact-form,
.module-panel {
  background-color: rgba(8, 20, 36, .11) !important;
  border-color: rgba(205, 228, 250, .13) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 8px 23px rgba(0,0,0,.07) !important;
  backdrop-filter: blur(4px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(4px) saturate(112%) !important;
}
.glass-card:hover,
.capability-card:hover,
.premium-purpose-card:hover,
.feature-showcase-card:hover,
.feature-tile:hover,
.xfinance-dashboard-card:hover {
  background-color: rgba(10, 25, 43, .15) !important;
  border-color: rgba(215, 233, 250, .18) !important;
}

/* Dashboard device frames: delicate glass edges, transparent faces. */
.floating-dashboard {
  background: rgba(7, 18, 32, .08) !important;
  border-color: rgba(200, 226, 249, .15) !important;
  box-shadow:
    0 14px 36px rgba(0,0,0,.14),
    inset 0 1px 0 rgba(255,255,255,.09) !important;
  backdrop-filter: blur(3px) saturate(110%) !important;
  -webkit-backdrop-filter: blur(3px) saturate(110%) !important;
}
.floating-dashboard-top {
  background: rgba(10, 24, 42, .19) !important;
  border-bottom-color: rgba(210,230,250,.11) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}
.showcase-floating-tag {
  background: rgba(8, 20, 36, .20) !important;
  border-color: rgba(210,230,250,.15) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.11) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

/* ERP dashboard slightly smaller than the last build. */
@media (min-width: 1051px) {
  .floating-dashboard-main {
    width: 65% !important;
    right: 4% !important;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .floating-dashboard-main {
    width: 70% !important;
    right: 4% !important;
  }
}


/* ===== Homepage final adjustment: more side breathing room, tighter screen grouping ===== */
@media (min-width: 1051px) {
  .hero-section > .container,
  .hero-content {
    width: 92% !important;
    max-width: 1300px !important;
  }
  .hero-layout {
    gap: clamp(3.25rem, 4.3vw, 4.6rem) !important;
  }
  /* Smaller main ERP preview, still the dominant screen. */
  .floating-dashboard-main {
    width: 60% !important;
    right: 7% !important;
    top: 4% !important;
  }
  /* Bring the secondary screens closer to the ERP preview. */
  .floating-dashboard-micro {
    width: 38% !important;
    left: 5% !important;
    bottom: 1% !important;
  }
  .floating-dashboard-ai {
    width: 37% !important;
    right: 5% !important;
    bottom: 0 !important;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .hero-visual-floating { width: min(820px, 100%) !important; }
  .floating-dashboard-main { width: 68% !important; right: 6% !important; }
  .floating-dashboard-micro { width: 41% !important; left: 4% !important; }
  .floating-dashboard-ai { width: 39% !important; right: 4% !important; }
}
@media (max-width: 700px) {
  .floating-dashboard-main { width: 84% !important; right: 4% !important; }
  .floating-dashboard-micro { width: 47% !important; left: 3% !important; }
  .floating-dashboard-ai { width: 44% !important; right: 3% !important; }
}

/* Gentle side-to-side drift with low vertical movement. */
@keyframes floatingDashboardMainGentle {
  0%,100% { transform: translate3d(0,0,0) rotateY(-3.6deg) rotateX(.6deg); }
  30% { transform: translate3d(-6px,-3px,0) rotateY(-3deg) rotateX(.3deg); }
  65% { transform: translate3d(6px,-5px,0) rotateY(-4deg) rotateX(.7deg); }
}
@keyframes floatingDashboardMicroRefined {
  0%,100% { transform: translate3d(0,0,0) rotateY(4deg) rotateX(.5deg); }
  35% { transform: translate3d(7px,-4px,0) rotateY(3deg) rotateX(.2deg); }
  70% { transform: translate3d(-5px,-6px,0) rotateY(4.8deg) rotateX(.6deg); }
}
@keyframes floatingDashboardAIRefined {
  0%,100% { transform: translate3d(0,0,0) rotateY(-3deg) rotateX(.4deg); }
  32% { transform: translate3d(-6px,-4px,0) rotateY(-2deg) rotateX(.2deg); }
  68% { transform: translate3d(6px,-5px,0) rotateY(-3.8deg) rotateX(.5deg); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-dashboard-main,
  .floating-dashboard-micro,
  .floating-dashboard-ai { animation: none !important; }
}


/* ===== Latest homepage screen grouping and horizontal floating motion ===== */
@media (min-width: 1051px) {
  /* Leave a little more breathing room at the left and right edges. */
  .hero-section > .container,
  .hero-content {
    width: 93% !important;
    max-width: 1320px !important;
  }
  .hero-layout {
    gap: clamp(3.4rem, 4.6vw, 4.9rem) !important;
  }

  /* Keep ERP dominant, but a touch smaller; pull the three screens into one cluster. */
  .floating-dashboard-main {
    width: 57% !important;
    right: 8.5% !important;
    top: 4% !important;
  }
  .floating-dashboard-micro {
    width: 39% !important;
    left: 8.5% !important;
    bottom: 1% !important;
  }
  .floating-dashboard-ai {
    width: 37% !important;
    right: 8.5% !important;
    bottom: 0 !important;
  }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .hero-section > .container,
  .hero-content {
    width: 94% !important;
  }
  .hero-layout { gap: 2.6rem !important; }
  .floating-dashboard-main { width: 66% !important; right: 7% !important; top: 4% !important; }
  .floating-dashboard-micro { width: 40% !important; left: 7% !important; }
  .floating-dashboard-ai { width: 38% !important; right: 7% !important; }
}
@media (max-width: 700px) {
  .floating-dashboard-main { width: 82% !important; right: 5% !important; top: 5% !important; }
  .floating-dashboard-micro { width: 46% !important; left: 5% !important; }
  .floating-dashboard-ai { width: 43% !important; right: 5% !important; }
}

/* No upward drift: screens glide gently from side to side and remain in their lanes. */
.floating-dashboard-main {
  animation: dashboardGlideMain 21s ease-in-out infinite !important;
}
.floating-dashboard-micro {
  animation: dashboardGlideMicro 18.5s ease-in-out infinite !important;
  animation-delay: -4s !important;
}
.floating-dashboard-ai {
  animation: dashboardGlideAI 20s ease-in-out infinite !important;
  animation-delay: -7s !important;
}
@keyframes dashboardGlideMain {
  0%,100% { transform: translate3d(0,0,0) rotateY(-3deg) rotateX(.45deg); }
  25% { transform: translate3d(-9px,0,0) rotateY(-2.4deg) rotateX(.25deg); }
  50% { transform: translate3d(0,0,0) rotateY(-3.4deg) rotateX(.4deg); }
  75% { transform: translate3d(8px,0,0) rotateY(-3.8deg) rotateX(.5deg); }
}
@keyframes dashboardGlideMicro {
  0%,100% { transform: translate3d(0,0,0) rotateY(3.5deg) rotateX(.35deg); }
  25% { transform: translate3d(9px,0,0) rotateY(2.8deg) rotateX(.2deg); }
  50% { transform: translate3d(0,0,0) rotateY(3.8deg) rotateX(.4deg); }
  75% { transform: translate3d(-8px,0,0) rotateY(4deg) rotateX(.35deg); }
}
@keyframes dashboardGlideAI {
  0%,100% { transform: translate3d(0,0,0) rotateY(-2.8deg) rotateX(.3deg); }
  25% { transform: translate3d(-8px,0,0) rotateY(-2deg) rotateX(.2deg); }
  50% { transform: translate3d(0,0,0) rotateY(-3deg) rotateX(.35deg); }
  75% { transform: translate3d(9px,0,0) rotateY(-3.4deg) rotateX(.4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .floating-dashboard-main,
  .floating-dashboard-micro,
  .floating-dashboard-ai {
    animation: none !important;
  }
}


/* ===== Crytech homepage: mobile-only side spacing and calmer background waves ===== */
@media (max-width: 700px) {
  /* Give every Crytech homepage section a small, consistent side gutter. */
  .container {
    width: calc(100% - 32px) !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-section > .container,
  .hero-content {
    width: calc(100% - 32px) !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* Prevent wide hero visuals and cards from touching the screen edges. */
  .hero-layout,
  .hero-copy,
  .hero-visual-floating,
  .section-header,
  .contact-wrapper,
  .footer-content {
    min-width: 0;
    max-width: 100%;
  }
}


/* ===== Crytech homepage: refined mobile hero to match XFinance spacing ===== */
@media (max-width: 700px) {
  .hero-section {
    padding-top: 1.35rem !important;
    padding-bottom: 1.7rem !important;
  }
  .hero-copy .hero-badge {
    margin-bottom: .85rem !important;
    padding: .42rem .72rem !important;
    font-size: .78rem !important;
  }
  .hero-copy .hero-title {
    max-width: 100% !important;
    font-size: clamp(2rem, 7.6vw, 2.35rem) !important;
    line-height: 1.12 !important;
    letter-spacing: -.045em !important;
    margin-bottom: .9rem !important;
  }
  .hero-copy .hero-subtitle {
    max-width: 100% !important;
    font-size: .88rem !important;
    line-height: 1.68 !important;
    margin-bottom: 1.2rem !important;
  }
  .hero-copy .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: .55rem !important;
    width: 100% !important;
  }
  .hero-copy .hero-cta-group .btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: .68rem .55rem !important;
    gap: .38rem !important;
    justify-content: center !important;
    white-space: nowrap !important;
    font-size: .72rem !important;
    border-radius: 12px !important;
  }
  .hero-copy .hero-cta-group .btn i { font-size: .78rem !important; }
  .hero-visual-floating { margin-top: .4rem !important; }
}
@media (max-width: 380px) {
  .hero-copy .hero-cta-group { gap: .4rem !important; }
  .hero-copy .hero-cta-group .btn { font-size: .66rem !important; padding-inline: .35rem !important; }
}

/* CMS-managed homepage content — additive styles; existing Crytech design remains unchanged. */
.cms-announcement-wrap{padding:28px 0 8px;position:relative;z-index:1}.cms-announcement{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 25px;border:1px solid rgba(222,183,103,.28);border-radius:17px;background:linear-gradient(110deg,rgba(197,146,55,.12),rgba(33,125,133,.11));backdrop-filter:blur(12px)}.cms-announcement-kicker{font-size:10px;font-weight:800;letter-spacing:.18em;color:#6ee0cc}.cms-announcement h2{font:800 19px Manrope,sans-serif;margin:6px 0 4px;color:#f1d08a}.cms-announcement p{margin:0;color:#a8b9cb;font-size:13px;line-height:1.55}.cms-announcement>a{flex:none;display:inline-flex;align-items:center;gap:9px;padding:11px 15px;border-radius:10px;background:linear-gradient(110deg,#f0d18b,#c99745);color:#131b25;font-weight:800;font-size:12px}.cms-home-feed-section{padding:72px 0 76px;position:relative;z-index:1}.cms-home-feed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.cms-home-feed-card{overflow:hidden;border:1px solid rgba(160,190,216,.15);border-radius:15px;background:rgba(14,25,39,.82);backdrop-filter:blur(10px)}.cms-home-feed-image{display:grid;place-items:center;aspect-ratio:16/9;background:linear-gradient(130deg,#12263a,#0a111e);color:#79d9ce;font-weight:800;letter-spacing:.12em;font-size:11px}.cms-home-feed-image img{width:100%;height:100%;object-fit:cover}.cms-home-feed-copy{padding:15px}.cms-home-feed-copy small{font-size:9px;color:#73cfc2;font-weight:800;letter-spacing:.1em}.cms-home-feed-copy h3{font:800 15px/1.35 Manrope,sans-serif;margin:9px 0 7px;color:#f1f5fb}.cms-home-feed-copy p{color:#9eafc2;font-size:11px;line-height:1.55;margin:0 0 12px}.cms-home-feed-copy>a{font-size:11px;font-weight:800;color:#e8c478}.cms-home-feed-actions{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:24px}.cms-home-feed-actions a{font-size:12px;font-weight:800;color:#eac77b}
@media(max-width:900px){.cms-home-feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cms-announcement-wrap{padding:18px 0 3px}.cms-announcement{align-items:flex-start;flex-direction:column;padding:17px}.cms-announcement h2{font-size:17px}.cms-announcement p{font-size:12px}.cms-home-feed-section{padding:48px 0}.cms-home-feed-grid{grid-template-columns:1fr 1fr;gap:10px}.cms-home-feed-copy{padding:11px}.cms-home-feed-copy h3{font-size:12px}.cms-home-feed-copy p{font-size:10px}.cms-home-feed-actions{gap:12px}}


/* Shared XFinance-style footer for the Crytech homepage */
.xf-site-footer{position:relative;isolation:isolate;overflow:hidden;border-top:1px solid rgba(255,255,255,.09);padding:64px 0 30px;background:rgba(3,7,13,.88)}
.xf-site-footer:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 12% 0%,rgba(41,113,158,.15),transparent 42%),radial-gradient(ellipse at 88% 100%,rgba(32,151,135,.10),transparent 40%)}
.xf-footer-content{width:min(1240px,90%);margin-inline:auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:42px}
.xf-footer-col h4{margin:0 0 18px;color:#f3f7fc;font:700 15px 'Manrope',sans-serif}
.xf-footer-col ul{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}
.xf-footer-col a{color:rgba(196,210,228,.72);font-size:13px;line-height:1.6;text-decoration:none;transition:color .2s ease,transform .2s ease}
.xf-footer-col a:hover{color:#82e6d5}
.xf-footer-logo{display:inline-flex;align-items:center;margin-bottom:17px}
.xf-footer-logo img{display:block;width:205px;max-height:72px;object-fit:contain;object-position:left center;filter:brightness(0) invert(1)}
.xf-brand-col p{max-width:310px;margin:0;color:rgba(196,210,228,.68);font-size:13px;line-height:1.8}
.xf-footer-phone-list{display:flex;flex-direction:column;align-items:flex-start;gap:11px;margin:0 0 19px}
.xf-footer-phone-list a{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;color:rgba(218,231,245,.86);font-size:13px;line-height:1.55}
.xf-footer-phone-list a span{min-width:62px;color:rgba(130,230,213,.88);font-size:11px;font-weight:700}
.xf-footer-social{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}
.xf-footer-social a{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(180,210,240,.15);border-radius:50%;background:rgba(255,255,255,.065);color:rgba(225,237,248,.9);font-size:14px}
.xf-footer-social a svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.xf-footer-social a:nth-child(2) svg{fill:currentColor;stroke:none}
.xf-footer-social a:hover{border-color:rgba(130,230,213,.5);background:rgba(130,230,213,.14);color:#fff;transform:translateY(-2px)}
.xf-footer-copyright{margin:0;color:rgba(170,188,210,.62);font-size:11px;line-height:1.7}
@media(max-width:900px){.xf-footer-content{grid-template-columns:1.4fr 1fr 1fr;gap:30px}.xf-brand-col{grid-column:1/-1}}
@media(max-width:620px){.xf-site-footer{padding:44px 0 26px}.xf-footer-content{grid-template-columns:1fr 1fr;gap:30px 22px}.xf-brand-col,.xf-footer-contact-col{grid-column:1/-1}.xf-footer-logo img{width:190px}.xf-footer-col h4{font-size:14px;margin-bottom:13px}.xf-footer-col a,.xf-brand-col p{font-size:12px}.xf-footer-col ul{gap:10px}.xf-footer-phone-list a{font-size:12px}}
