/*
Theme Name: ASF Brainhouse
Description: Professional Learning & Financial Community WordPress Theme
Version: 1.0
Author: ASF Community
*/

/* ASF Professional Brand Design System */
:root {
  --asf-black: #000000;
  --asf-white: #ffffff;
  --asf-fayrouz: #c3b9aa;
  --asf-lemon: #32cd32;
  --asf-navy: #2c3e50;
  --asf-golden: #ffd700;
  --asf-red: #f56565;
  --asf-pink: #fed7e2;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--asf-black);
}

/* Professional gradient utilities */
.gradient-fayrouz-lemon {
  background: linear-gradient(135deg, var(--asf-fayrouz), var(--asf-lemon));
}

.gradient-golden-fayrouz {
  background: linear-gradient(135deg, var(--asf-golden), var(--asf-fayrouz));
}

.gradient-black-fayrouz {
  background: linear-gradient(135deg, var(--asf-black), var(--asf-fayrouz));
}

/* 3D Gradient Buttons */
.btn-3d-urgent {
  background: linear-gradient(145deg, #3b82f6, #ef4444);
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  transition: all 0.2s ease;
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-3d-urgent:hover {
  background: linear-gradient(145deg, #2563eb, #dc2626);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-3d-golden {
  background: linear-gradient(145deg, #fbbf24, #3b82f6);
  box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  transition: all 0.2s ease;
  color: var(--asf-black);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-3d-golden:hover {
  background: linear-gradient(145deg, #f59e0b, #2563eb);
  box-shadow: 0 12px 24px rgba(251, 191, 36, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Dark sections for lower parts */
.dark-section {
  background: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
  color: var(--asf-fayrouz);
}

.dark-section .card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(195, 185, 170, 0.2);
  backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--asf-fayrouz), var(--asf-lemon));
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  padding: 80px 20px;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 32px;
  padding: 12px 32px;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--asf-black);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-title img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-right: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-title h1 {
  font-size: 4rem;
  font-weight: bold;
  color: black;
  margin: 0;
}

.hero-description {
  margin-bottom: 48px;
}

.hero-description p {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.95);
  font-weight: 500;
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.4;
}

.hero-highlight {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
}

.hero-highlight p {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.service-card h3 {
  color: var(--asf-black);
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.service-card p {
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-buttons .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stats-section {
  margin-top: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stats-container {
  background: rgba(195, 185, 170, 0.2);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: perspective(1000px) rotateX(2deg);
  transform-style: preserve-3d;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
}

.stat-item {
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  color: rgba(0, 0, 0, 0.9);
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #000000, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: rgba(0, 0, 0, 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation */
.main-navigation {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95));
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--asf-black);
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 12px;
}

.logo span {
  font-size: 1.25rem;
  font-weight: bold;
}

.nav-menu {
  display: none;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--asf-black);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: var(--asf-golden);
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .hero-title h1 {
    font-size: 5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #000000 0%, #0f172a 50%, #1e293b 100%);
  color: var(--asf-fayrouz);
  padding: 64px 0;
  border-top: 1px solid rgba(195, 185, 170, 0.2);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

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

.footer-header img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-header span {
  font-size: 2rem;
  font-weight: bold;
  color: var(--asf-fayrouz);
}

.footer-description {
  color: rgba(195, 185, 170, 0.8);
  margin-bottom: 32px;
  font-size: 1.2rem;
  font-weight: 500;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.footer-service-card {
  background: rgba(15, 23, 42, 0.8);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(195, 185, 170, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2), inset 0 2px 0 rgba(195, 185, 170, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateX(5deg);
  transform-style: preserve-3d;
}

.footer-service-card:hover {
  transform: perspective(1000px) rotateX(5deg) scale(1.05);
}

.footer-service-card h3 {
  color: var(--asf-fayrouz);
  font-weight: bold;
  margin-bottom: 8px;
}

.footer-service-card p {
  color: rgba(195, 185, 170, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.footer-actions .btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-bottom {
  border-top: 1px solid rgba(195, 185, 170, 0.2);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom .copyright {
  font-size: 0.9rem;
  color: rgba(195, 185, 170, 0.7);
  margin-bottom: 16px;
}

.footer-bottom .tagline {
  font-size: 0.75rem;
  color: rgba(195, 185, 170, 0.6);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .footer-services {
    grid-template-columns: repeat(3, 1fr);
  }
}
