/*
Theme Name: KinetOps Ultimate
Theme URI: https://kinetops.com
Author: KinetOps
Description: Billion-dollar professional theme for AI robotics with enhanced visuals
Version: 3.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kinetops
*/

/* ==========================================
   CSS VARIABLES - Brand Colors
   ========================================== */
:root {
  --color-primary: #0A2342;
  --color-primary-light: #1E4976;
  --color-secondary: #00D9FF;
  --color-accent: #00FF88;
  --color-white: #FFFFFF;
  --color-dark: #0F1419;
  --color-dark-card: #1C2128;
  --color-gray: #94A3B8;
  --color-gray-light: #CBD5E1;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   BASE STYLES - Reset & Typography
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--color-dark);
  color: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.8;
  color: var(--color-gray);
  margin-bottom: 1rem;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   CONTAINER & LAYOUT
   ========================================== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-sm {
  padding: 5rem 0;
}

/* ==========================================
   HEADER - Fixed Navigation
   ========================================== */
.site-header {
  background: rgba(10, 35, 66, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 1rem 0;
  background: rgba(10, 35, 66, 1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.site-header.scrolled .site-logo img {
  height: 50px;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 3rem;
  align-items: center;
}

.main-navigation a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transition: var(--transition);
}

.main-navigation a:hover::after {
  width: 100%;
}

.main-navigation a:hover {
  color: var(--color-secondary);
}

/* ==========================================
   HERO SECTIONS - Stunning Visuals
   ========================================== */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/hero-bg-enhanced.jpg') center/cover;
  opacity: 0.15;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1), transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent), var(--color-white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--color-gray-light);
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   BUTTONS - Call to Action
   ========================================== */
.btn {
  display: inline-block;
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-secondary);
  color: var(--color-secondary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* ==========================================
   CARDS - Professional Components
   ========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.card {
  background: var(--color-dark-card);
  border: 1px solid rgba(0, 217, 255, 0.15);
  border-radius: 16px;
  padding: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent));
  transform: scaleX(0);
  transition: var(--transition);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.card-title {
  color: var(--color-secondary);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.card-description {
  color: var(--color-gray);
  line-height: 1.8;
  font-size: 1.0625rem;
}

.card ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.card ul li {
  padding: 0.75rem 0;
  color: var(--color-gray-light);
  font-size: 1rem;
  position: relative;
  padding-left: 2rem;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ==========================================
   STATISTICS - Impactful Numbers
   ========================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  position: relative;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-label {
  color: var(--color-gray-light);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================
   SECTIONS - Content Layout
   ========================================== */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  max-width: 800px;
  margin: -2rem auto 4rem;
  line-height: 1.7;
}

.section-dark {
  background: rgba(10, 35, 66, 0.3);
}

.section-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

/* ==========================================
   FOOTER - Professional
   ========================================== */
.site-footer {
  background: var(--color-primary);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(0, 217, 255, 0.2);
  margin-top: 8rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-column p,
.footer-column a {
  color: var(--color-gray);
  line-height: 1.8;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-column a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
  transition: var(--transition);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-gray);
  font-size: 0.9375rem;
}

/* ==========================================
   FORMS - Contact
   ========================================== */
form input,
form textarea {
  width: 100%;
  padding: 1.25rem;
  background: rgba(28, 33, 40, 0.9);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ==========================================
   RESPONSIVE - Mobile First
   ========================================== */
@media (max-width: 968px) {
  .main-navigation ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    padding-top: 100px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-4 { margin-top: 4rem; }

/* Elementor Compatibility */
.elementor-section {
  background: transparent;
}

.elementor-widget-text-editor {
  color: var(--color-white);
}
