/* ==========================================================================
   EKUATOR - Ultra-Modern Light SaaS Theme Powered by Official Logo Color
   Official Brand Color: #0e1328 (RGB: 14, 19, 40)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  /* Official Brand Color System (Exact from Specification) */
  --brand-dark: #090C19;
  --brand-base: #0E1328;
  --brand-medium: #1D244D;
  --brand-light: #2C3570;

  /* Aliases & Semantic Roles */
  --logo-base: #0E1328;
  --logo-deep: #090C19;
  --logo-surface: #1D244D;
  --logo-light: #2C3570;
  --logo-blue: #2C3570;
  --logo-accent: #2C3570;
  --logo-tint: rgba(14, 19, 40, 0.05);
  --logo-tint-medium: rgba(14, 19, 40, 0.1);
  --logo-glow: rgba(14, 19, 40, 0.22);

  --primary-color: #0E1328;
  --color-primary: #0E1328;
  --brand-primary: #0E1328;
  --brand-color: #0E1328;

  /* Official Brand Navy Gradient (Light #2C3570 -> Medium #1D244D -> Base #0E1328) */
  --brand-gradient: linear-gradient(135deg, #2C3570 0%, #1D244D 100%);
  --brand-gradient-hover: linear-gradient(135deg, #37428c 0%, #2C3570 100%);
  --brand-gradient-deep: linear-gradient(135deg, #2C3570 0%, #1D244D 50%, #0E1328 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(44, 53, 112, 0.08) 0%, rgba(29, 36, 77, 0.12) 100%);
  --brand-glow: rgba(44, 53, 112, 0.38);

  /* Reference Sky Blue & Royal Gradient Atmosphere Palette (Sampled from Reference Website) */
  --color-royal-blue: #1d3285;
  --color-sky-soft: #bad2fe;
  --color-sky-subtle: #eaf2ff;
  --gradient-sky-hero: linear-gradient(180deg, #b8d2fc 0%, #cde0fd 18%, #e2eeff 40%, #f3f8fe 65%, #ffffff 90%);
  --gradient-card-stage: linear-gradient(180deg, #b6ccf8 0%, #cbdbf9 35%, #e1ecfc 70%, #f7f9fe 95%, #ffffff 100%);
  --gradient-royal-text: linear-gradient(135deg, #1d3285 0%, #2544ad 60%, #1d3285 100%);

  /* Signature Gradients Derived from Brand Scale */
  --gradient-logo: linear-gradient(135deg, #2C3570 0%, #1D244D 100%);
  --gradient-logo-subtle: linear-gradient(135deg, rgba(44, 53, 112, 0.05) 0%, rgba(29, 36, 77, 0.08) 100%);
  --gradient-text: linear-gradient(135deg, #0E1328 15%, #1D244D 55%, #2C3570 100%);

  /* Functional Status Accents */
  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-info: #1d4ed8;
  --color-info-bg: #eff6ff;

  /* Surfaces & Clean Light Backgrounds */
  --bg-pure: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-logo: rgba(14, 19, 40, 0.2);
  --border-logo-active: #0e1328;

  --shadow-sm: 0 2px 6px rgba(14, 19, 40, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(14, 19, 40, 0.07), 0 2px 10px -2px rgba(14, 19, 40, 0.04);
  --shadow-card-hover: 0 20px 45px -10px rgba(14, 19, 40, 0.16), 0 4px 16px -2px rgba(14, 19, 40, 0.06);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #0e1328;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-accent: #1f274e;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
  --section-spacing: clamp(75px, 6vw, 95px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pure);
  color: var(--text-primary);
  color-scheme: light;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pure);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--logo-blue);
}

/* Ambient Canvas & Background Mesh (Removed per user request) */
#starfield-canvas {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Soft Ambient Logo Tonal Blobs in Background (Removed per user request) */
.ambient-glow {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.glow-top-left {
  top: -120px;
  left: 0;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(14, 19, 40, 0.14), transparent 70%);
}

.glow-top-right {
  top: 80px;
  right: -80px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(60, 78, 151, 0.16), transparent 70%);
  animation-delay: -6s;
}

.glow-center {
  top: 48%;
  left: 25%;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(31, 39, 78, 0.1), transparent 70%);
  animation-delay: -12s;
}

.glow-bottom-right {
  bottom: 5%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(14, 19, 40, 0.12), transparent 70%);
}

@keyframes floatBlobs {
  0% { transform: scale(0.95) translate(0, 0); opacity: 0.3; }
  50% { transform: scale(1.1) translate(40px, 30px); opacity: 0.45; }
  100% { transform: scale(1) translate(-30px, 40px); opacity: 0.35; }
}

/* App Wrapper */
.app-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--logo-base);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--logo-base);
  display: inline-block;
}

.gradient-text-alt {
  background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  display: inline-block;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

.section-tag,
.features-tag,
.visibility-tag,
.hero-eyebrow,
.brain-hero-eyebrow {
  display: none !important;
}

.section-tag .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--logo-base);
  box-shadow: 0 0 8px rgba(14, 19, 40, 0.6);
  animation: pulseDot 2s infinite ease-in-out;
}

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

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.15rem, 3.2vw, 2.85rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--logo-base);
}

.section-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-logo);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(14, 19, 40, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 19, 40, 0.38);
  filter: brightness(1.08);
}

.btn-secondary {
  background: #ffffff;
  color: var(--logo-base);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--logo-base);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-glow {
  position: relative;
}

/* Cards */
.clean-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.clean-card:hover {
  border-color: var(--border-logo);
  box-shadow: var(--shadow-card-hover);
}

/* Geometric Pattern Background (Cleaned - No black dots) */
.pattern-bg {
  background-image: none !important;
  background: transparent;
}

/* Status Indicator Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
}

.status-pill.success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-pill.warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.status-pill.info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.status-pill.logo {
  background: rgba(14, 19, 40, 0.06);
  color: var(--logo-base);
  border: 1px solid rgba(14, 19, 40, 0.18);
}

/* --------------------------------------------------------------------------
   Mobile Typography Optimization (Reduced, Refined Headings & Paragraphs)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Global Headings */
  h1 {
    font-size: clamp(1.85rem, 6.8vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
  }

  h2 {
    font-size: clamp(1.6rem, 5vw, 2.05rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
  }

  h3 {
    font-size: 1.18rem;
    line-height: 1.28;
  }

  h4 {
    font-size: 1.02rem;
    line-height: 1.32;
  }

  h5 {
    font-size: 0.92rem;
  }

  /* Global Paragraphs */
  p {
    font-size: 0.92rem;
    line-height: 1.58;
  }

  /* Section Titles & Descriptions */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.05rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 12px !important;
  }

  .section-desc {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section {
    padding: clamp(48px, 7vw, 70px) 0;
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: clamp(1.45rem, 5.2vw, 1.75rem) !important;
    line-height: 1.22 !important;
  }

  p {
    font-size: 0.88rem;
    line-height: 1.54;
  }

  .section-title {
    font-size: clamp(1.45rem, 5.2vw, 1.75rem) !important;
    line-height: 1.22 !important;
  }

  .section-desc {
    font-size: 0.9rem !important;
    line-height: 1.52 !important;
  }

  .section-tag {
    font-size: 0.74rem;
    padding: 4px 14px;
    margin-bottom: 14px;
  }
}

/* ==========================================================================
   GLOBAL SITE PRELOADER & LOGO ANIMATION
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFFFFF;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, #F8FAFD 55%, #F0F4FA 100%);
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.025);
  filter: blur(8px);
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.preloader-glow-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 540px);
  height: min(85vw, 540px);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(122, 136, 206, 0.22) 0%, rgba(210, 220, 246, 0.35) 45%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  animation: preloaderOrbPulse 3s ease-in-out infinite alternate;
}

.preloader-mesh-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(44, 53, 112, 0.08) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 35%, transparent 75%);
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   LOGO LIQUID FILLING STAGE (WHITE THEME)
   ========================================================================== */
.preloader-logo-stage {
  position: relative;
  width: min(78vw, 240px);
  aspect-ratio: 1024 / 295;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderLogoFloat 2.6s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 30px rgba(14, 19, 40, 0.08))
          drop-shadow(0 2px 8px rgba(14, 19, 40, 0.04));
}

/* 1. Faint Ghost Silhouette Base Logo */
.preloader-logo-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.12;
  filter: grayscale(100%);
  user-select: none;
  pointer-events: none;
}

/* 2. Masked Fluid Liquid Filling Layer */
.preloader-logo-fill-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url('../assets/logo-original.png'), url('assets/logo-original.png');
  mask-image: url('../assets/logo-original.png'), url('assets/logo-original.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  overflow: hidden;
  filter: drop-shadow(0 4px 14px rgba(14, 19, 40, 0.12));
}

/* Rising Liquid Vessel */
.preloader-liquid-riser {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  display: flex;
  flex-direction: column;
  animation: liquidRise 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Undulating Liquid Waves Header */
.preloader-liquid-wave {
  position: absolute;
  top: -14px;
  left: 0;
  width: 250%;
  height: 16px;
  overflow: visible;
  pointer-events: none;
}

.wave-back {
  fill: #2C3570;
  opacity: 0.65;
  animation: waveFlowBack 2.4s linear infinite;
}

.wave-front {
  fill: #0E1328;
  animation: waveFlowFront 1.8s linear infinite;
}

/* Solid Brand Navy Liquid Body */
.preloader-liquid-body {
  width: 100%;
  height: 100%;
  flex: 1;
  background: linear-gradient(180deg, #1D244D 0%, #0E1328 65%, #080B18 100%);
  box-shadow: 0 -2px 10px rgba(44, 53, 112, 0.45);
}

/* Specular Light Reflection Sweep */
.preloader-specular-sweep {
  position: absolute;
  top: -20%;
  left: -70%;
  width: 48%;
  height: 140%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    transparent 100%
  );
  transform: skewX(-24deg);
  pointer-events: none;
  animation: logoShimmerSweep 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Keyframes */
@keyframes liquidRise {
  0% {
    height: 0%;
  }
  60%, 88% {
    height: 110%;
  }
  100% {
    height: 110%;
  }
}

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

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

@keyframes logoShimmerSweep {
  0%, 55% {
    left: -70%;
    opacity: 0;
  }
  65% {
    opacity: 0.95;
  }
  85%, 100% {
    left: 140%;
    opacity: 0;
  }
}

@keyframes preloaderLogoFloat {
  0% {
    transform: scale(0.975);
  }
  100% {
    transform: scale(1.02);
  }
}

@keyframes preloaderOrbPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0.65;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}



