/*
Theme Name: FluxDataTech Holding Theme
Theme URI: https://fluxdatatech.com/
Author: FluxDataTech Engineering
Author URI: https://fluxdatatech.com/
Description: Ultra modern, high-tech enterprise dark mode theme for FluxDataTech (FDT) holding company and CryptoFlux ecosystem.
Version: 1.2.2
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: fdt-theme
*/

:root {
  --bg-dark: #07090e;
  --bg-card: rgba(14, 20, 32, 0.7);
  --bg-card-hover: rgba(20, 29, 48, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);
  
  --primary: #00f2fe;
  --primary-glow: rgba(0, 242, 254, 0.4);
  --accent-cyan: #4facfe;
  --accent-purple: #9d4edd;
  --accent-purple-glow: rgba(157, 78, 221, 0.4);
  --accent-green: #00f5a0;
  --accent-green-glow: rgba(0, 245, 160, 0.4);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --glass-blur: blur(16px);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-dark);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  color: var(--text-main);
}

/* Background Canvas & Ambient Orbs */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.65;
}

.tech-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  pointer-events: none;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  top: 5%;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.15), transparent 70%);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-2 {
  top: 40%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.12), transparent 70%);
  animation: floatOrb 22s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  bottom: 10%;
  left: 30%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.08), transparent 70%);
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
  100% { transform: translate(-40px, 50px) scale(0.95); }
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.accent-text {
  color: var(--primary);
  text-shadow: 0 0 15px var(--primary-glow);
}

.gradient-text-glow {
  background: linear-gradient(135deg, #ffffff 0%, #00f2fe 50%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glass Panel */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #050b14;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* Header & Nav */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

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

.brand-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
}

img.fdt-brand-img {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 110px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.35)) !important;
  flex-shrink: 0 !important;
}

img.fdt-brand-img.sm {
  height: 26px !important;
  max-height: 26px !important;
  max-width: 80px !important;
}

img.flagship-logo {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.brand-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.1 !important;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: #fff;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-green);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: blinkDot 1.8s infinite;
}

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

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 14, 24, 0.96);
  backdrop-filter: blur(25px);
  z-index: 200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid var(--border-color);
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-link {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.drawer-cta {
  margin-top: 20px;
  color: var(--primary);
  border-bottom: none;
}

/* HERO SECTION */
.hero-section {
  padding-top: 170px;
  padding-bottom: 80px;
  text-align: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 30px;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
}

.badge-pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

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

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  max-width: 960px;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 18px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats-banner {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 24px;
  align-items: center;
  margin-top: 20px;
  border-color: rgba(0, 242, 254, 0.15);
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ffffff, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

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

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border-color);
  margin: 0 auto;
}

/* LIVE TICKER WRAP */
.live-ticker-wrap {
  width: 100%;
  background: rgba(11, 16, 26, 0.85);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ticker-content {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerSlide 25s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-tag {
  color: var(--text-dim);
}

.ticker-item .val.green { color: var(--accent-green); }
.ticker-item .val.blue { color: var(--accent-cyan); }
.ticker-item .val.cyan { color: var(--primary); }
.ticker-item .val.purple { color: var(--accent-purple); }

/* SECTIONS COMMON */
.section {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 50px;
}

.section-header.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.card-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.card-icon-wrap.cyan-glow {
  background: rgba(0, 242, 254, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 242, 254, 0.3);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.card-icon-wrap.purple-glow {
  background: rgba(157, 78, 221, 0.12);
  color: var(--accent-purple);
  border: 1px solid rgba(157, 78, 221, 0.3);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.2);
}

.card-icon-wrap.green-glow {
  background: rgba(0, 245, 160, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0, 245, 160, 0.3);
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.2);
}

.about-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.about-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.feature-list li i {
  color: var(--accent-green);
  font-size: 0.8rem;
}

/* ECOSYSTEM - FLAGSHIP (CryptoFlux) */
.flagship-card {
  padding: 44px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-color: rgba(0, 242, 254, 0.3);
  background: linear-gradient(135deg, rgba(14, 24, 40, 0.85) 0%, rgba(10, 16, 28, 0.9) 100%);
}

.flagship-badge {
  position: absolute;
  top: 24px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--primary);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.flagship-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.subsidiary-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.flagship-title {
  font-size: 2rem;
  color: #fff;
}

.flagship-type {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary);
}

.flagship-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.flagship-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-main);
}

.tech-tag i {
  color: var(--primary);
}

.flagship-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.action-caption {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Terminal Component */
.terminal-box {
  background: #090d16;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  font-family: var(--font-mono);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.terminal-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.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.75rem;
  color: var(--text-muted);
}

.terminal-tag {
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
  border-radius: 4px;
}

.terminal-body {
  padding: 18px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: #cbd5e1;
  max-height: 280px;
  overflow-y: auto;
}

.log-time { color: var(--text-dim); }
.log-sys { color: var(--accent-purple); font-weight: 600; }
.log-succ { color: var(--accent-green); font-weight: 600; }
.log-info { color: var(--accent-cyan); }
.log-algo { color: #f59e0b; font-weight: 600; }
.hl-cyan { color: var(--primary); text-shadow: 0 0 8px var(--primary-glow); }

.blinking-cursor {
  animation: blinkCursor 1s infinite;
  color: var(--primary);
}

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

/* OTHER VENTURES GRID */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.venture-card {
  padding: 30px;
}

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

.v-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.v-icon.cyan { background: rgba(0, 242, 254, 0.1); color: var(--primary); border: 1px solid rgba(0, 242, 254, 0.3); }
.v-icon.purple { background: rgba(157, 78, 221, 0.1); color: var(--accent-purple); border: 1px solid rgba(157, 78, 221, 0.3); }
.v-icon.green { background: rgba(0, 245, 160, 0.1); color: var(--accent-green); border: 1px solid rgba(0, 245, 160, 0.3); }

.v-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.venture-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.venture-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.v-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

/* ARCHITECTURE STACK */
.tech-diagram-wrap {
  padding: 44px;
  max-width: 900px;
  margin: 0 auto;
}

.tech-layers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-layer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.tech-layer-card.active, .tech-layer-card:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: var(--primary);
  transform: scale(1.02);
}

.layer-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 24px;
}

.layer-info {
  flex-grow: 1;
}

.layer-info h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.layer-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.layer-badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #fff;
}

.layer-connector {
  text-align: center;
  color: var(--primary);
  font-size: 1.1rem;
  opacity: 0.7;
}

/* CONTACT SECTION */
.contact-box {
  padding: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

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

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.c-item i {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 4px;
}

.c-item strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.c-item span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  text-align: center;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-color);
  background: #05070a;
  padding: 80px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-brand .brand-logo {
  margin-bottom: 16px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 18px;
  max-width: 360px;
  line-height: 1.7;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col h5 {
  font-size: 0.95rem;
  margin-bottom: 18px;
  color: #fff;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-sub-links {
  display: flex;
  gap: 20px;
}

.footer-sub-links a:hover {
  color: var(--text-muted);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

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

  .flagship-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  /* Header & Navigation */
  .header-nav {
    padding: 10px 0 !important;
  }

  .nav-container {
    padding: 0 16px !important;
  }

  .desktop-menu {
    display: none !important;
  }

  .nav-actions .status-indicator,
  .nav-actions > .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.2rem;
  }

  img.fdt-brand-img {
    height: 24px !important;
    max-height: 24px !important;
    max-width: 65px !important;
  }

  .brand-name {
    font-size: 1rem !important;
    letter-spacing: 1px !important;
  }

  .brand-tag {
    font-size: 0.55rem !important;
    letter-spacing: 1px !important;
  }

  /* Hero Section */
  .hero-section {
    padding-top: 90px !important;
    padding-bottom: 40px !important;
  }

  .hero-badge {
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px;
    text-align: center;
  }

  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }

  .hero-description {
    font-size: 0.95rem !important;
    margin-bottom: 28px !important;
    padding: 0 4px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-stats-banner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 20px 14px !important;
  }

  .stat-value {
    font-size: 1.5rem !important;
  }

  .stat-label {
    font-size: 0.75rem !important;
  }

  /* Sections General */
  .section {
    padding: 60px 0 !important;
  }

  .section-title {
    font-size: 1.65rem !important;
  }

  .section-desc {
    font-size: 0.92rem !important;
    margin-bottom: 32px !important;
  }

  .about-grid,
  .ventures-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Flagship Ecosystem (CryptoFlux) */
  .flagship-card {
    padding: 20px 16px !important;
  }

  .flagship-badge {
    position: static !important;
    margin-bottom: 16px !important;
    display: inline-flex !important;
    align-self: flex-start !important;
  }

  .subsidiary-brand {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .flagship-title {
    font-size: 1.6rem !important;
  }

  .flagship-type {
    font-size: 0.78rem !important;
    line-height: 1.4;
  }

  .flagship-desc {
    font-size: 0.92rem !important;
    margin-bottom: 20px !important;
  }

  .flagship-tags {
    gap: 6px !important;
    margin-bottom: 24px !important;
  }

  .tech-tag {
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }

  .flagship-actions .btn {
    width: 100%;
  }

  .terminal-box {
    margin-top: 10px;
  }

  .terminal-body {
    font-size: 0.72rem !important;
    padding: 12px !important;
    max-height: 220px !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
  }

  /* Tech Architecture Stack */
  .tech-diagram-wrap {
    padding: 20px 14px !important;
  }

  .tech-layer-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 16px 14px !important;
  }

  .layer-num {
    margin-right: 0 !important;
    font-size: 1.25rem !important;
  }

  .layer-info h4 {
    font-size: 1.05rem !important;
  }

  .layer-info p {
    font-size: 0.82rem !important;
  }

  .layer-badge {
    align-self: flex-start !important;
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
  }

  /* Contact Box */
  .contact-box {
    padding: 24px 16px !important;
  }

  .contact-info h2 {
    font-size: 1.6rem !important;
  }

  .contact-info p {
    font-size: 0.92rem !important;
    margin-bottom: 24px !important;
  }

  /* Footer */
  .footer {
    padding: 50px 0 24px !important;
  }

  .footer-links-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }
}

/* Production revamp: interaction, clarity, and accessibility */
main {
  overflow: clip;
}

section[id],
div[id="ventures"] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: #07090e;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: auto 10% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.55), transparent);
}

.hero-trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-row i {
  color: var(--accent-cyan);
}

.about-card,
.venture-card,
.tech-layer-card,
.contact-box {
  isolation: isolate;
}

.about-card::before,
.venture-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-card:hover::before,
.venture-card:hover::before {
  opacity: 0.8;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: block;
  border: 0;
  background: rgba(2, 5, 10, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.ticker-content {
  width: max-content;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 20px)); }
}

.c-item a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.c-item a:hover {
  color: var(--primary);
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-note {
  margin-top: -4px;
  color: var(--text-dim);
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-status {
  min-height: 24px;
  padding: 0;
  border-radius: 8px;
  font-size: 0.84rem;
}

.form-status.is-success,
.form-status.is-error {
  margin-top: 4px;
  padding: 10px 12px;
}

.form-status.is-success {
  color: var(--accent-green);
  background: rgba(0, 245, 160, 0.08);
  border: 1px solid rgba(0, 245, 160, 0.2);
}

.form-status.is-error {
  color: #ff8b8b;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.2);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 768px) {
  .hero-trust-row {
    flex-direction: column;
    align-items: center;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  #cyber-canvas {
    display: none;
  }
}

/* Internal content pages */
.internal-page {
  min-height: 100vh;
  padding-bottom: 100px;
}

.internal-hero {
  position: relative;
  padding: 158px 0 76px;
  border-bottom: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 72% 24%, rgba(0, 242, 254, 0.11), transparent 32%),
    radial-gradient(circle at 28% 76%, rgba(157, 78, 221, 0.1), transparent 36%);
}

.internal-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 8%, var(--primary), transparent 92%);
  opacity: 0.45;
}

.internal-hero-inner {
  max-width: 1020px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

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

.internal-hero h1 {
  max-width: 900px;
  margin-top: 14px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, #fff 15%, #a9c7d8 64%, var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.internal-hero-summary {
  max-width: 760px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.internal-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
  margin-top: 48px;
}

.page-content {
  padding: clamp(26px, 5vw, 64px);
}

.page-content > *:first-child {
  margin-top: 0;
}

.editorial-lead {
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
}

.editorial-lead p {
  max-width: 820px;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
}

.editorial-section {
  margin: 64px 0;
}

.content-eyebrow,
.aside-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
}

.editorial-section h2,
.inline-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.editorial-section > p,
.split-content p,
.legal-copy p {
  margin: 0 0 18px;
  color: var(--text-muted);
  line-height: 1.85;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.content-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,0.035), rgba(0,242,254,0.018));
}

.content-card h3 {
  margin-bottom: 13px;
  font-size: 1.12rem;
}

.content-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.editorial-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.editorial-list li {
  position: relative;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  color: var(--text-muted);
}

.editorial-list li::before {
  content: '✓';
  position: absolute;
  left: 16px;
  color: var(--accent-green);
  font-weight: 800;
}

.process-list {
  display: grid;
  gap: 0;
  margin-top: 32px;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  display: grid;
  grid-template-columns: 56px 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-color);
  counter-increment: process;
}

.process-list li::before {
  content: '0' counter(process);
  color: var(--primary);
  font-family: var(--font-mono);
}

.process-list span {
  color: var(--text-muted);
}

.inline-cta {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  margin-top: 72px;
  padding: 32px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(0,242,254,0.08), rgba(157,78,221,0.07));
}

.inline-cta h2 {
  margin-bottom: 7px;
  font-size: 1.45rem;
}

.inline-cta p {
  color: var(--text-muted);
}

.inline-cta .btn {
  flex: 0 0 auto;
}

.page-aside {
  position: sticky;
  top: 110px;
}

.aside-card {
  padding: 28px;
}

.aside-card h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.aside-card p {
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.notice-panel {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.07);
  color: #fcd58d;
}

.notice-panel p {
  margin-top: 5px;
  color: var(--text-muted);
}

.legal-copy h2 {
  margin-top: 42px;
  font-size: 1.45rem;
}

@media (max-width: 1024px) {
  .internal-page-layout {
    grid-template-columns: 1fr;
  }

  .page-aside {
    position: static;
  }
}

@media (max-width: 768px) {
  .internal-hero {
    padding: 116px 0 54px;
  }

  .internal-hero h1 {
    font-size: 2.45rem;
  }

  .internal-page-layout {
    margin-top: 24px;
    padding: 0 14px;
  }

  .page-content {
    padding: 28px 20px;
  }

  .content-card-grid,
  .split-content {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 42px 1fr;
  }

  .process-list span {
    grid-column: 2;
  }

  .inline-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
  }
}
