/* CSS Design System for Heurex AI - Holding Page */

/* Custom Variables */
:root {
  --color-bg: #0D1026;            /* Deep Space Navy (Dark Mode) */
  --color-primary: #1A1F4D;       /* Brand Primary (Deep Navy) */
  --color-primary-rgb: 26, 31, 77;
  --color-gold: #C9A961;          /* Brand Secondary (Warm Honey Gold) */
  --color-gold-rgb: 201, 169, 97;
  --color-light: #F4F6F9;         /* Brand Light (Off-White) */
  --color-light-rgb: 244, 246, 249;
  
  --color-text-main: var(--color-light);
  --color-text-muted: rgba(244, 246, 249, 0.75);
  --color-card-bg: rgba(26, 31, 77, 0.25);
  --color-card-border: rgba(201, 169, 97, 0.15);
  --color-glow: rgba(201, 169, 97, 0.3);
  
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --border-radius-lg: 24px;
  --border-radius-md: 12px;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 97, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Fullscreen Background Canvas */
#honeycomb-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Main App Wrapper */
.app-container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header Styles */
.site-header {
  padding: 3rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.header-content {
  display: flex;
  justify-content: center; /* Centered header logo to align with centered content */
  align-items: center;
}

.logo-link {
  display: inline-block;
  transition: var(--transition-smooth);
}

.logo-link:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 20px rgba(201, 169, 97, 0.25));
}

.brand-logo {
  height: 70px;
  width: auto;
  display: block;
}

/* Main Content Area */
.main-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  width: 100%;
}

.hero-section {
  width: 100%;
  max-width: 1200px;
}

/* Centered content block style */
.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 3rem;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-content-centered:hover {
  border-color: rgba(201, 169, 97, 0.3);
  box-shadow: 0 40px 80px rgba(201, 169, 97, 0.08), 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

/* Subtle background watermark mascot */
.card-watermark {
  position: absolute;
  bottom: -40px;
  right: -45px;
  width: 250px;
  height: 250px;
  object-fit: contain;
  opacity: 0.08; /* Increased to make it slightly more visible */
  pointer-events: none;
  z-index: 1;
  filter: grayscale(100%) brightness(1.2);
  transform: rotate(-12deg);
  transition: var(--transition-smooth);
}

.hero-content-centered:hover .card-watermark {
  opacity: 0.20; /* Brighter reveal on card hover */
  transform: rotate(-6deg) scale(1.04);
  filter: grayscale(80%) brightness(1.3) drop-shadow(0 0 15px rgba(201, 169, 97, 0.2));
}

/* Ensure card text elements render on top of watermark */
.badge-container,
.main-heading,
.intro-paragraph {
  position: relative;
  z-index: 2;
}

/* Badge Styling */
.badge-container {
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.2rem;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 50px;
  color: var(--color-gold);
  font-family: var(--font-headings);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 8px var(--color-gold);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.7);
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(201, 169, 97, 0);
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(201, 169, 97, 0);
  }
}

/* Heading Styling */
.main-heading {
  font-family: var(--font-headings);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--color-light);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-light) 30%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Intro Paragraph */
.intro-paragraph {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 720px;
}

/* Footer Styling */
.site-footer {
  padding: 2rem 2rem 3rem 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 169, 97, 0.15), transparent);
  margin-bottom: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.9rem;
  color: rgba(244, 246, 249, 0.4);
}

.footer-social-links {
  display: flex;
  gap: 1.2rem;
}

.social-link-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: rgba(26, 31, 77, 0.3);
  border: 1px solid rgba(244, 246, 249, 0.05);
  border-radius: 50%;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link-item svg {
  width: 18px;
  height: 18px;
}

.social-link-item:hover {
  color: var(--color-gold);
  border-color: rgba(201, 169, 97, 0.3);
  background: rgba(201, 169, 97, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(201, 169, 97, 0.15);
}

.social-link-item:active {
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet & Smaller Desktops (Under 1024px) */
@media (max-width: 1024px) {
  .main-heading {
    font-size: 3.4rem;
  }
  
  .intro-paragraph {
    font-size: 1.15rem;
  }
}

/* Mobile Landscape & Portrait (Under 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 2.5rem 1.5rem;
  }
  
  .brand-logo {
    height: 55px;
  }
  
  .main-content {
    padding: 1rem 1.5rem;
  }
  
  .hero-content-centered {
    padding: 3rem 1.5rem;
  }
  
  .main-heading {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
  }
  
  .site-footer {
    padding: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* Extra Small Devices (Under 480px) */
@media (max-width: 480px) {
  .main-heading {
    font-size: 2rem;
  }
  
  .badge {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .intro-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}
