/*
Theme Name: Cybernatix Elementor
Theme URI: https://cybernatix.com
Author: Cybernatix Engineering Team
Author URI: https://cybernatix.com
Description: Official Cybernatix Enterprise Software, Web & Mobile Engineering WordPress Theme. Built with 100% Elementor Page Builder compatibility, dynamic custom widgets, modern dark/light glassmorphic styling, and ultra-high-speed responsive architecture.
Version: 2.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: cybernatix
Tags: one-column, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --color-brand-cyan: #0284c7;
  --color-brand-cyan-bright: #06b6d4;
  --color-brand-sky: #38bdf8;
  --color-brand-dark: #090d1a;
  --color-brand-surface: #f8fafc;
  --color-brand-border: #e2e8f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-logo { font-family: var(--font-logo); }

/* Selection styling */
::selection {
  background: #38bdf8;
  color: #ffffff;
}

/* ==========================================================================
   Cybernetic Background Grids & Glassmorphic Surfaces
   ========================================================================== */
.bg-grid-cyber {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

.glass-header {
  background: rgba(6, 10, 23, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 18px 38px -10px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}

.tech-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 14px 28px -6px rgba(2, 132, 199, 0.14);
  transform: translateY(-4px);
}

.text-glow-gradient {
  background: linear-gradient(135deg, #0f172a 20%, #0284c7 70%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-cyan-btn {
  box-shadow: 0 4px 14px 0 rgba(2, 132, 199, 0.25);
  transition: all 0.25s ease;
}

.glow-cyan-btn:hover {
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.45);
  transform: translateY(-1px);
}

.logo-container {
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-container:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   Marquee Infinite Scroll
   ========================================================================== */
.marquee-wrapper {
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.15; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.05); }
}

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

.animate-glow-pulse { animation: glowPulse 6s ease-in-out infinite; }
.animate-float-slow { animation: floatSlow 6s ease-in-out infinite; }

/* ==========================================================================
   Navigation Dropdown & Mobile Menu
   ========================================================================== */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

.dropdown-parent:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scrollbar Hide Utility */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }

/* ==========================================================================
   Elementor Canvas & Full Width Fixes
   ========================================================================== */
.elementor-page .entry-content,
.elementor-page .page-content {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
}

.elementor-template-full-width .site-main {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* ==========================================================================
   Prose Corporate Content Typography
   ========================================================================== */
.prose-corporate {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
}

.prose-corporate h1,
.prose-corporate h2,
.prose-corporate h3,
.prose-corporate h4 {
  color: #0f172a;
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-corporate h1 { font-size: 2.25rem; line-height: 1.25; }
.prose-corporate h2 { font-size: 1.75rem; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem; }
.prose-corporate h3 { font-size: 1.35rem; color: #0284c7; }
.prose-corporate p { margin-bottom: 1.25rem; }

.prose-corporate ul, 
.prose-corporate ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-corporate ul { list-style-type: disc; }
.prose-corporate ol { list-style-type: decimal; }

.prose-corporate li { margin-bottom: 0.5rem; }

.prose-corporate a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose-corporate a:hover {
  color: #0369a1;
}
