/* AILucid Studio - Main Stylesheet */
/* Futuristic Minimalist Design */

:root {
  --primary: #00d9ff;
  --secondary: #6366f1;
  --dark: #0a0e27;
  --darker: #050814;
  --gray: #8892b0;
  --light-gray: #ccd6f6;
  --white: #ffffff;
  --accent: #64ffda;
  --shadow: rgba(0, 217, 255, 0.1);
  --glow: rgba(0, 217, 255, 0.3);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--darker);
  color: var(--light-gray);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray);
}

strong {
  color: var(--light-gray);
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  color: var(--light-gray);
  line-height: 1.8;
}

.text-spaced {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding: 1rem;
  background: rgba(100, 255, 218, 0.05);
  border-left: 3px solid var(--accent);
  margin: 1rem 0;
}

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

/* Header */
header {
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  transition: none;
}

.brand:hover {
  color: var(--white);
}

.logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
}

.nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: radial-gradient(circle at center, rgba(0, 217, 255, 0.05), transparent 70%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  opacity: 0.1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.15; }
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.hero .lead {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Cards & Tiles */
.card, .tile {
  background: rgba(10, 14, 39, 0.6);
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card:hover, .tile:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px var(--shadow);
}

.tile {
  margin-bottom: 2rem;
}

/* Grid Layouts */
.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .cols, .cols-2, .cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
}

.li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.chip {
  background: rgba(0, 217, 255, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 217, 255, 0.3);
  transition: all 0.3s ease;
}

.chip:hover {
  background: rgba(0, 217, 255, 0.2);
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: var(--primary);
  color: var(--darker);
  box-shadow: 0 0 20px var(--glow);
}

.btn.primary {
  background: var(--primary);
  color: var(--darker);
}

.btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

/* Footer */
footer {
  background: var(--darker);
  border-top: 1px solid rgba(0, 217, 255, 0.1);
  padding: 3rem 0 1rem;
  margin-top: 6rem;
}

footer .wrap {
  text-align: center;
}

footer p {
  color: var(--gray);
  font-size: 0.9rem;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 20, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--dark);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--gray);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Utilities */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  header .wrap {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .wrap {
    padding: 1rem;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    text-align: center;
  }
}