/*
Theme Name: Kyber Automation Theme - APPLE STYLE DARK (Tailwind Optimized)
Description: Clean Apple-inspired design in dark mode with minimal custom CSS
Version: 6.1.0 - TAILWIND OPTIMIZED
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES - ONLY ESSENTIAL VARIABLES
   ========================================================================== */

:root {
    /* Apple transitions for complex animations only */
    --apple-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --apple-transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Complex gradients that can't be easily replicated in Tailwind */
    --hero-gradient: radial-gradient(ellipse at top center, rgba(0, 122, 255, 0.15) 0%, transparent 60%),
                     radial-gradient(ellipse at bottom right, rgba(100, 210, 255, 0.1) 0%, transparent 50%),
                     linear-gradient(135deg, #000000 0%, #0a0a0b 30%, #1a1a1c 70%, #2a2a2d 100%);
}

/* ==========================================================================
   RESET AND BASE STYLES - MINIMAL CUSTOM
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Remove all background effects */
body::before,
body::after {
    display: none;
}

/* ==========================================================================
   TAILWIND COLOR CLASSES - DEFINE CUSTOM COLORS
   ========================================================================== */

.bg-cosmic-dark {
    background-color: #0a0118;
}

.bg-cosmic-darker {
    background-color: #050008;
}

.bg-cosmic-secondary {
    background-color: #1e40af;
}

.bg-cosmic-primary {
    background-color: #3b82f6;
}

.border-cosmic-secondary {
    border-color: rgba(30, 64, 175, 0.2);
}

.border-cosmic-navy {
    border-color: #0f1419;
}

.text-cosmic-primary {
    color: #3b82f6;
}

.text-cosmic-light-gray {
    color: #a1a1a6;
}

.bg-cosmic-primary\/10 {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-cosmic-secondary\/10 {
    background-color: rgba(30, 64, 175, 0.1);
}

.bg-cosmic-primary\/20 {
    background-color: rgba(59, 130, 246, 0.2);
}

.bg-cosmic-primary\/30 {
    background-color: rgba(59, 130, 246, 0.3);
}

.bg-cosmic-secondary\/20 {
    background-color: rgba(30, 64, 175, 0.2);
}

.bg-cosmic-dark\/95 {
    background-color: rgba(10, 1, 24, 0.95);
}

.hover\:bg-cosmic-primary\/30:hover {
    background-color: rgba(59, 130, 246, 0.3);
}

.hover\:bg-cosmic-secondary\/20:hover {
    background-color: rgba(30, 64, 175, 0.2);
}

.hover\:text-cosmic-primary:hover {
    color: #3b82f6;
}

/* ==========================================================================
   NAVIGATION - ONLY COMPLEX BACKDROP BLUR BEHAVIOR
   ========================================================================== */

nav,
header,
.site-header,
.main-navigation,
.navbar {
    transition: var(--apple-transition-fast) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

nav.scrolled,
header.scrolled,
.site-header.scrolled,
.main-navigation.scrolled,
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* ==========================================================================
   LOGO SIZING - SPECIFIC SIZES NOT IN TAILWIND
   ========================================================================== */

.custom-logo,
.kyber-logo-img {
    height: 48px !important;
    width: auto;
    max-height: 48px !important;
    max-width: 250px;
}

/* ==========================================================================
   HERO SECTION - COMPLEX GRADIENT AND ANIMATIONS
   ========================================================================== */

.hero-cosmic {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

/* Subtle starfield overlay - complex animation not possible with Tailwind */
.hero-cosmic::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.4) 1px, transparent 2px),
        radial-gradient(circle at 85% 15%, rgba(100, 210, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 75% 85%, rgba(0, 122, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 65% 55%, rgba(100, 210, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 35% 85%, rgba(255, 255, 255, 0.15) 1px, transparent 2px),
        radial-gradient(circle at 90% 60%, rgba(0, 122, 255, 0.15) 1px, transparent 2px);
    background-size: 
        300px 300px, 350px 350px, 280px 280px, 320px 320px,
        250px 250px, 290px 290px, 330px 330px, 270px 270px;
    animation: subtleStarsFlow 60s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.hero-cosmic::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.2) 1.5px, transparent 3px),
        radial-gradient(circle at 80% 30%, rgba(100, 210, 255, 0.15) 1.5px, transparent 3px),
        radial-gradient(circle at 30% 70%, rgba(0, 122, 255, 0.1) 1.5px, transparent 3px),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 1.5px, transparent 3px);
    background-size: 
        400px 400px, 450px 450px, 380px 380px, 420px 420px;
    animation: subtleStarsFlow 90s linear infinite reverse;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
}

@keyframes subtleStarsFlow {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% { 
        transform: translate(-50px, -50px) rotate(360deg);
        opacity: 0.6;
    }
}

/* ==========================================================================
   STATS ANIMATION - COMPLEX TIMING NOT AVAILABLE IN TAILWIND
   ========================================================================== */

.hero-stats-row {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-row.animate-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    transform: scale(0.8);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-stats .stat-number {
    transform: scale(1);
    opacity: 1;
}

/* ==========================================================================
   CARD HOVER EFFECTS - COMPLEX TRANSITIONS
   ========================================================================== */

.card-cosmic {
    transition: var(--apple-transition);
}

.card-cosmic:hover {
    transform: translateY(-8px);
}

.card-cosmic .icon-container {
    transition: var(--apple-transition-fast);
}

.card-cosmic:hover .icon-container {
    transform: scale(1.1);
}

/* ==========================================================================
   APPLE BUTTON SYSTEM - SPECIFIC BORDER RADIUS
   ========================================================================== */

.btn-cosmic,
.btn-rounded {
    border-radius: 980px; /* Apple's specific pill radius */
    transition: var(--apple-transition-fast);
}

.btn-cosmic, 
.bg-primary {
    background-color: rgb(0, 155, 175);
}

.bg-secondary {
    background-color: #46dc8bff;
}

.primary-color-text{
    color:#46dc8bff;
}

.dark-color-text{
    color:#111827
}

.btn-cosmic:hover,
.btn-rounded:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Remove all glow effects and animations */
.glow-icon,
.glow-text,
.text-shadow-glow {
    box-shadow: none;
    text-shadow: none;
    animation: none;
}

/* Fade in animation for scroll animations *//*
Theme Name: Kyber Automation Theme - APPLE STYLE DARK (Tailwind Optimized)
Description: Clean Apple-inspired design in dark mode with minimal custom CSS
Version: 6.1.0 - TAILWIND OPTIMIZED
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES - ONLY ESSENTIAL VARIABLES
   ========================================================================== */

:root {
    /* Apple transitions for complex animations only */
    --apple-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --apple-transition-fast: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Complex gradients that can't be easily replicated in Tailwind */
    --hero-gradient: radial-gradient(ellipse at top center, rgba(0, 122, 255, 0.15) 0%, transparent 60%),
                     radial-gradient(ellipse at bottom right, rgba(100, 210, 255, 0.1) 0%, transparent 50%),
                     linear-gradient(135deg, #000000 0%, #0a0a0b 30%, #1a1a1c 70%, #2a2a2d 100%);
}

/* ==========================================================================
   RESET AND BASE STYLES - MINIMAL CUSTOM
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Remove all background effects */
body::before,
body::after {
    display: none;
}

/* ==========================================================================
   TAILWIND COLOR CLASSES - DEFINE CUSTOM COLORS
   ========================================================================== */

.bg-cosmic-dark {
    background-color: #0a0118;
}

.bg-cosmic-darker {
    background-color: #050008;
}

.bg-cosmic-secondary {
    background-color: #1e40af;
}

.bg-cosmic-primary {
    background-color: #3b82f6;
}

.border-cosmic-secondary {
    border-color: rgba(30, 64, 175, 0.2);
}

.border-cosmic-navy {
    border-color: #0f1419;
}

.text-cosmic-primary {
    color: #3b82f6;
}

.text-cosmic-light-gray {
    color: #a1a1a6;
}

.bg-cosmic-primary\/10 {
    background-color: rgba(59, 130, 246, 0.1);
}

.bg-cosmic-secondary\/10 {
    background-color: rgba(30, 64, 175, 0.1);
}

.bg-cosmic-primary\/20 {
    background-color: rgba(59, 130, 246, 0.2);
}

.bg-cosmic-primary\/30 {
    background-color: rgba(59, 130, 246, 0.3);
}

.bg-cosmic-secondary\/20 {
    background-color: rgba(30, 64, 175, 0.2);
}

.bg-cosmic-dark\/95 {
    background-color: rgba(10, 1, 24, 0.95);
}

.hover\:bg-cosmic-primary\/30:hover {
    background-color: rgba(59, 130, 246, 0.3);
}

.hover\:bg-cosmic-secondary\/20:hover {
    background-color: rgba(30, 64, 175, 0.2);
}

.hover\:text-cosmic-primary:hover {
    color: #3b82f6;
}

/* ==========================================================================
   NAVIGATION - ONLY COMPLEX BACKDROP BLUR BEHAVIOR
   ========================================================================== */

nav,
header,
.site-header,
.main-navigation,
.navbar {
    transition: var(--apple-transition-fast) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

nav.scrolled,
header.scrolled,
.site-header.scrolled,
.main-navigation.scrolled,
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Navigation menu styling */
nav a,
header a,
.site-header a,
.main-navigation a,
.navbar a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: var(--apple-transition-fast) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    font-weight: 400 !important;
    font-size: 1.2rem !important;
    text-decoration: none !important;
}

nav a:hover,
header a:hover,
.site-header a:hover,
.main-navigation a:hover,
.navbar a:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   LOGO SIZING - SPECIFIC SIZES NOT IN TAILWIND
   ========================================================================== */

.custom-logo,
.kyber-logo-img {
    height: 48px !important;
    width: auto;
    max-height: 48px !important;
    max-width: 250px;
}

/* ==========================================================================
   HERO SECTION - COMPLEX GRADIENT AND ANIMATIONS
   ========================================================================== */

.hero-cosmic {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

/* Subtle starfield overlay - complex animation not possible with Tailwind */
.hero-cosmic::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.4) 1px, transparent 2px),
        radial-gradient(circle at 85% 15%, rgba(100, 210, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.3) 1px, transparent 2px),
        radial-gradient(circle at 75% 85%, rgba(0, 122, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 45% 35%, rgba(255, 255, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 65% 55%, rgba(100, 210, 255, 0.2) 1px, transparent 2px),
        radial-gradient(circle at 35% 85%, rgba(255, 255, 255, 0.15) 1px, transparent 2px),
        radial-gradient(circle at 90% 60%, rgba(0, 122, 255, 0.15) 1px, transparent 2px);
    background-size: 
        300px 300px, 350px 350px, 280px 280px, 320px 320px,
        250px 250px, 290px 290px, 330px 330px, 270px 270px;
    animation: subtleStarsFlow 60s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.hero-cosmic::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(255, 255, 255, 0.2) 1.5px, transparent 3px),
        radial-gradient(circle at 80% 30%, rgba(100, 210, 255, 0.15) 1.5px, transparent 3px),
        radial-gradient(circle at 30% 70%, rgba(0, 122, 255, 0.1) 1.5px, transparent 3px),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 1.5px, transparent 3px);
    background-size: 
        400px 400px, 450px 450px, 380px 380px, 420px 420px;
    animation: subtleStarsFlow 90s linear infinite reverse;
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
}

@keyframes subtleStarsFlow {
    0% { 
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% { 
        transform: translate(-50px, -50px) rotate(360deg);
        opacity: 0.6;
    }
}

/* ==========================================================================
   STATS ANIMATION - COMPLEX TIMING NOT AVAILABLE IN TAILWIND
   ========================================================================== */

.hero-stats-row {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-stats-row.animate-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    transform: scale(0.8);
    opacity: 0.5;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-stats .stat-number {
    transform: scale(1);
    opacity: 1;
}

/* ==========================================================================
   CARD HOVER EFFECTS - COMPLEX TRANSITIONS
   ========================================================================== */

.card-cosmic {
    transition: var(--apple-transition);
}

.card-cosmic:hover {
    transform: translateY(-8px);
}

.card-cosmic .icon-container {
    transition: var(--apple-transition-fast);
    background-color: #46dc8bff;
}

.card-cosmic:hover .icon-container {
    transform: scale(1.1);
}

/* ==========================================================================
   APPLE BUTTON SYSTEM - SPECIFIC BORDER RADIUS
   ========================================================================== */

.btn-cosmic,
.btn-rounded {
    border-radius: 980px; /* Apple's specific pill radius */
    transition: var(--apple-transition-fast);
}

.btn-cosmic:hover,
.btn-rounded:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

/* Remove all glow effects and animations */
.glow-icon,
.glow-text,
.text-shadow-glow {
    box-shadow: none;
    text-shadow: none;
    animation: none;
}

/* Fade in animation for scroll animations */
@keyframes fadeInUp {
    0% { 
        transform: translateY(20px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes fadeInUp {
    0% { 
        transform: translateY(20px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}