/* MeiaLabs Core Style Sheet - Modern Premium Dark Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

:root {
  --bg: #030712;
  --bg-gradient: radial-gradient(circle at top, #0b1528 0%, #030712 100%);
  --surface: rgba(17, 24, 39, 0.7);
  --surface-hover: rgba(31, 41, 55, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text: #f3f4f6;
  --text-muted: #9ca3af;
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.15);
  
  --easypeasy: #ff7a45;
  --easypeasy-gradient: linear-gradient(135deg, #ff7a45 0%, #e2632f 100%);
  --easypeasy-glow: rgba(255, 122, 69, 0.15);
  
  --mixxie: #fbbf24;
  --mixxie-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --mixxie-glow: rgba(251, 191, 36, 0.15);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  min-height: 100%;
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Base Accessibility Focus Styling */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Brand Mark */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 80px;
  animation: fadeIn 0.8s ease-out;
}

.logo-wrapper {
  margin-bottom: 24px;
  position: relative;
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  background: var(--primary);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
  border-radius: 50%;
  animation: pulse 4s infinite alternate;
}

.logo-svg {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
  transition: var(--transition);
}

.logo-wrapper:hover .logo-svg {
  transform: scale(1.08) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.5));
}

.logo-wrapper:hover .logo-glow {
  opacity: 0.6;
}

h1.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.tagline {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Hero Section */
.hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 100px;
  animation: fadeIn 1s ease-out;
}

.hero h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Grid & Cards */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 100px;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0.8;
  transition: var(--transition);
}

.app-card.easypeasy::before {
  background: var(--easypeasy-gradient);
}

.app-card.mixxie::before {
  background: var(--mixxie-gradient);
}

.app-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.app-card.easypeasy:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px var(--easypeasy-glow);
}

.app-card.mixxie:hover {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 30px var(--mixxie-glow);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  font-size: 1.8rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.easypeasy .app-icon {
  background: var(--easypeasy-gradient);
}

.mixxie .app-icon {
  background: var(--mixxie-gradient);
}

.app-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.app-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  flex-grow: 1;
}

.app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 14px;
  transition: var(--transition);
  font-size: 0.95rem;
  width: 100%;
}

.easypeasy .app-cta {
  background: var(--easypeasy-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(226, 99, 47, 0.2);
}

.easypeasy .app-cta:hover {
  box-shadow: 0 6px 20px rgba(226, 99, 47, 0.4);
  filter: brightness(1.08);
}

.mixxie .app-cta {
  background: var(--mixxie-gradient);
  color: #030712;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.mixxie .app-cta:hover {
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
  filter: brightness(1.08);
}

/* Footer Section */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  animation: fadeIn 1.2s ease-out;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

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

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

@keyframes pulse {
  from {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .container {
    padding: 40px 16px;
  }
  header {
    margin-bottom: 50px;
  }
  .logo-svg {
    width: 64px;
    height: 64px;
  }
  h1.brand-title {
    font-size: 1.8rem;
  }
  .hero {
    margin-bottom: 60px;
  }
  .hero h2 {
    font-size: 2.2rem;
  }
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 60px;
  }
  .app-card {
    padding: 30px;
  }
  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-bottom: 20px;
  }
}
