/* ==========================================================================
   CHRISTECK.COM — COMPONENTS & SHOWCASE SYSTEM
   ========================================================================== */

/* ==========================================================================
   1. NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(5, 7, 17, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-smooth);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-symbol {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #FFFFFF;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-title span {
  color: var(--accent-cyan);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--text-primary);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.lang-switch-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-indigo);
}

/* ==========================================================================
   2. HERO SECTION & METRICS COUNTER
   ========================================================================== */
.hero {
  padding: 170px 0 110px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 28px;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
}

.hero-pill-badge .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: heroPulse 2s infinite ease-in-out;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

.hero-main-title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-lead-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.65;
}

.hero-actions-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Stats Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-indigo));
  opacity: 0;
  transition: var(--transition-fast);
}

.stat-box:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #FFFFFF, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   3. PROJECTS SHOWCASE SECTION & FILTER PILLS
   ========================================================================== */
.showcase-section {
  padding: 110px 0;
  position: relative;
}

.filter-pills-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.filter-pill.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

/* Project Cards Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  position: relative;
}

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

.project-cover {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0D1127;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-cover img {
  transform: scale(1.05);
}

.project-cover-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(5, 7, 17, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.project-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.tech-tag.highlight {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.2);
}

.project-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   4. AI ENGINEERING PILLARS & ARCHITECTURE
   ========================================================================== */
.philosophy-section {
  padding: 100px 0;
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  border-color: var(--border-cyan-glow);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(0, 240, 255, 0.1));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.pillar-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   5. ECOSYSTEM BRIDGE TO CHRISTECK.ODOO.COM
   ========================================================================== */
.bridge-section {
  padding: 60px 0 110px;
  position: relative;
}

.bridge-card {
  background: linear-gradient(135deg, rgba(20, 26, 58, 0.9) 0%, rgba(11, 14, 32, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.bridge-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.bridge-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.bridge-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.bridge-contact-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
}

.contact-chip:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.bridge-right-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: rgba(7, 9, 19, 0.6);
  border: 1px solid var(--border-glass);
  padding: 30px;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.main-footer {
  padding: 80px 0 40px;
  background: #030409;
  border-top: 1px solid var(--border-glass);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-legal-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
