/* =============================================
   LIEU - NEO-POP DESIGN SYSTEM
   Gen Z inspired consultancy aesthetic
   ============================================= */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Neo-pop color palette */
  --color-primary: #ED6909;
  --color-primary-dark: #C86844;
  --color-accent-lime: #C6F135;
  --color-accent-violet: #6B21A8;
  --color-acult-cyan: #06B6D4;
  
  /* Neutrals */
  --color-bg: #FAFAF9;
  --color-bg-offset: #F5F5F4;
  --color-text: #1C1917;
  --color-text-muted: #57585A;
  --color-text-light: #A8A29E;
  --color-border: #E7E5E4;
  
  /* Dark mode */
  --color-bg-dark: #0C0A09;
  --color-text-dark: #FAFAF9;
  --color-text-muted-dark: #A8A29E;
  --color-border-dark: #292524;
  
  /* Neo-pop effects */
  --shadow-hard: 4px 4px 0px #1C1917;
  --shadow-hard-sm: 2px 2px 0px #1C1917;
  --shadow-hard-lg: 8px 8px 0px #1C1917;
  --shadow-hard-accent: 4px 4px 0px var(--color-accent-violet);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  
  /* Typography */
  --font-display: 'Parkinsans', system-ui, sans-serif;
  --font-body: 'Host Grotesk', system-ui, sans-serif;
}

/* === BASE TYPOGRAPHY === */
html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

/* Neo-pop headings */
h1, h2, h3, h4, h5, h6,
.hero__header h1,
.section__header h2,
.icon-box__title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* === HERO SECTION === */
.hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  min-height: auto;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(107, 33, 168, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(237, 105, 9, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-2xl);
  align-items: start;
}

.hero__content {
  max-width: 100%;
  text-align: left;
}

/* Hero image - right side, fill vertically, top align */
.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
  height: 100%;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero__header {
  margin-bottom: var(--space-lg);
  text-align: left;
}

.hero__header h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--color-text) 0%, var(--color-accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.hero__header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 50ch;
  line-height: 1.7;
  text-align: left;
}

/* Hero buttons - Neo-pop style */
.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  justify-content: flex-start;
}

.hero__actions .btn {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__actions .btn--primary,
.hero__actions .btn--color {
  background: var(--color-text);
  color: var(--color-bg);
  border: 3px solid var(--color-text);
  box-shadow: var(--shadow-hard);
}

.hero__actions .btn--primary:hover,
.hero__actions .btn--color:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-lg);
}

.hero__actions .btn--primary:active,
.hero__actions .btn--color:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.hero__actions .btn--outlined,
.hero__actions .btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 3px solid var(--color-text);
}

.hero__actions .btn--outlined:hover,
.hero__actions .btn--secondary:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Hero trust badges */
.hero__aside {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: left;
}

.hero__aside p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.hero__aside-avatars {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__aside-avatars img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--color-bg-offset);
  padding: 4px;
}

.hero__aside p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.hero__aside-avatars {
  display: flex;
  gap: -0.5rem;
}

.hero__aside-avatars img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg);
  object-fit: cover;
  margin-left: -12px;
}

.hero__aside-avatars img:first-child {
  margin-left: 0;
}

/* Hero image */
.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none !important;
  box-shadow: none !important;
}

/* === SECTION STYLING === */
.section {
  padding: var(--space-2xl) 0;
}

.section__header {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-xl);
}

/* Left align split headers */
.section__header--split {
  text-align: left;
  margin: 0 0 var(--space-lg);
}

.section__header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

.section__header p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* Hide features cards - just whitespace */
.features__cards {
  display: none;
}

/* === BENTO GRID === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.bento-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.bento-card--lime::before {
  background: var(--color-accent-lime);
}

.bento-card--violet::before {
  background: var(--color-accent-violet);
}

.bento-card--cyan::before {
  background: var(--color-acult-cyan);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hard);
  border-color: var(--color-text);
}

/* Bento card content */
.bento-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-offset);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.bento-card__icon svg {
  width: 28px;
  height: 28px;
}

.bento-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
}

.bento-card p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--transition-fast);
}

.bento-card__link:hover {
  gap: 0.75rem;
}

/* Bento large card (spans 2 columns) */
.bento-card--large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-card--large {
    grid-column: span 1;
  }
}

/* === FEATURES SECTION === */
.features {
  background: var(--color-bg-offset);
}

.features__list {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.features .icon-box {
  width: 64px;
  height: 64px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: default;
}

.features .icon-box:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.features .icon-box svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.features__cards {
  gap: var(--space-lg);
}

/* === SOCIAL PROOF SECTION === */
.social-proof {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.social-proof__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.social-proof__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  opacity: 0.6;
}

.social-proof__logos img {
  max-height: 40px;
  max-width: 150px;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.social-proof__logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* === SERVICES PREVIEW === */
.services-preview {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-offset) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* === INSIGHTS SECTION === */
.insights__list {
  gap: var(--space-lg);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--color-bg-offset);
  color: var(--color-text);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.cta-section .section__header {
  max-width: 50ch;
  margin: 0 auto var(--space-lg);
}

.cta-section .section__header h2 {
  color: var(--color-text);
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.cta-section .section__header p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.cta-section__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* CTA with dark background override */
.cta-section.cta-section--dark {
  background: var(--color-text);
  color: var(--color-bg);
}

.cta-section.cta-section--dark .section__header h2 {
  color: var(--color-bg);
}

.cta-section.cta-section--dark .section__header p {
  color: var(--color-text-light);
}

/* === FOOTER === */
.site-footer {
  background: var(--color-bg);
  padding: var(--space-xl) 0 var(--space-md);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.site-footer .wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.footer-brand__tagline {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-offset);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: white;
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin: 0;
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero::before {
    display: none;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section__header {
    margin-bottom: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.footer-column li {
  margin-bottom: var(--space-xs);
}

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

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

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin: 0;
}

/* === NAVBAR === */
.navbar {
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-sm) 0;
}

.navbar__container {
  padding: var(--space-xs) 0;
}

.navbar__button .btn {
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

/* Mobile responsive hero */
@media (max-width: 900px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .hero::before {
    display: none;
  }
  
  .hero__image {
    height: 300px;
  }
  
  .hero__image img {
    height: 300px;
    object-fit: cover;
  }
}

/* === PAGE TEMPLATES === */
.page-hero {
  padding: var(--space-3xl) 0 var(--space-2xl);
  background: var(--color-bg-offset);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-md);
}

.page-hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 60ch;
  margin: 0 auto;
}

.page-content {
  padding: var(--space-2xl) 0;
}

.page-content max-width {
  max-width: 70ch;
  margin: 0 auto;
}

/* === PROCESS TIMELINE === */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
}

@media (max-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  padding: var(--space-lg);
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.process-step h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.process-step__duration {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.25rem 0.75rem;
  background: var(--color-bg-offset);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* === DARK MODE === */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: var(--color-bg-dark);
    --color-text: var(--color-text-dark);
    --color-text-muted: var(--color-text-muted-dark);
    --color-border: var(--color-border-dark);
    --color-bg-offset: #1C1917;
  }
  
  .hero__header h1 {
    background: linear-gradient(135deg, var(--color-text-dark) 0%, var(--color-accent-lime) 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .bento-card,
  .features .icon-box,
  .process-step {
    background: #1C1917;
  }
  
  .hero__aside {
    border-top-color: var(--color-border-dark);
  }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Staggered animation delays */
.bento-card:nth-child(1) { animation-delay: 0ms; }
.bento-card:nth-child(2) { animation-delay: 100ms; }
.bento-card:nth-child(3) { animation-delay: 200ms; }
.bento-card:nth-child(4) { animation-delay: 300ms; }

/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 768px) {
  .hero {
    padding: var(--space-2xl) 0;
    min-height: auto;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .footer-grid {
    gap: var(--space-lg);
  }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
