/*
Theme Name: Eureka Minds
Theme URI: https://example.com/eureka-minds
Author: Antigravity
Author URI: https://example.com
Description: A modern WordPress theme for AI & Robotics Labs, converted from a React application.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eureka-minds
Tags: education, robotics, ai, modern, dark-mode
*/

:root {
  --primary: #00f2ff;
  --secondary: #0061ff;
  --accent: #7f00ff;
  --bg-dark: #030712;
  --bg-darker: #010206;
  --bg-card: rgba(15, 23, 42, 0.3);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --glow-color: rgba(0, 242, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

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

li {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

/* Glassmorphism Utilities */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      var(--glow-color) 0%,
      transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

.glass:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 255, 0.3);
  transform: translateY(-5px);
}

.glass:hover::before {
  opacity: 1;
}

.glass>* {
  position: relative;
  z-index: 1;
}

.glass-nav {
  background: rgba(5, 10, 21, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

/* Gradients */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.bg-gradient {
  background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(127, 0, 255, 0.1), transparent 40%),
    var(--bg-darker);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 10rem 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 210, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  font-weight: 700;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--glass-bg);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Typography Extensions */
.display-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
}

@media (max-width: 968px) {

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-padding {
    padding: 6rem 0;
  }

  .display-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}