/* ==========================================================================
   Hensen Coffee - Company Profile Stylesheet
   PT Hensen Kopi Indonesia (Syaputra Capital Group)
   ========================================================================== */

:root {
  --color-primary: #3d2314;       /* Espresso Dark */
  --color-primary-light: #5a3620; /* Roasted Bean */
  --color-secondary: #c5221f;     /* Hensen Bull Red */
  --color-secondary-hover: #a11714;
  --color-accent: #d97706;        /* Caramel Amber */
  --color-accent-light: #f59e0b;
  --color-cream-bg: #fdfaf6;      /* Latte Cream */
  --color-cream-card: #f8f1e7;
  --color-dark-bg: #1e130c;       /* Deep Coffee Night */
  --color-dark-surface: #2b1b12;
  --color-text-main: #2b1d14;
  --color-text-muted: #6e5d53;
  --color-border: #ebd9c8;
  --radius-lg: 1.25rem;
  --radius-md: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 2px 8px rgba(61, 35, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(61, 35, 20, 0.1);
  --shadow-lg: 0 16px 40px rgba(61, 35, 20, 0.14);
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--color-cream-bg);
  color: var(--color-text-main);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1e6da;
}
::-webkit-scrollbar-thumb {
  background: #8c5b38;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6d4224;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(235, 217, 200, 0.6);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 217, 200, 0.8);
}

.glass-card-dark {
  background: rgba(43, 27, 18, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139, 90, 43, 0.25);
}

/* Coffee Pattern Background */
.bg-coffee-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(139, 90, 43, 0.08) 1px, transparent 0);
  background-size: 28px 28px;
}

.bg-coffee-glow {
  background: radial-gradient(circle at 50% 20%, rgba(217, 119, 6, 0.12) 0%, rgba(253, 250, 246, 0) 70%);
}

.bg-dark-coffee-glow {
  background: radial-gradient(circle at 50% 30%, rgba(217, 119, 6, 0.18) 0%, rgba(30, 19, 12, 1) 75%);
}

/* Animations */
@keyframes pulseSubtle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

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

@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.animate-pulse-subtle {
  animation: pulseSubtle 3s ease-in-out infinite;
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Interactive Card Hover Effects */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(84, 50, 29, 0.18);
  border-color: #d97706;
}

/* POS Terminal Simulation Styling */
.pos-screen {
  background: #18120e;
  border-radius: 1.5rem;
  border: 4px solid #332319;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), inset 0 0 20px rgba(0,0,0,0.5);
  overflow: hidden;
}

.pos-stand {
  width: 140px;
  height: 45px;
  background: linear-gradient(180deg, #2b1f18 0%, #17100b 100%);
  margin: 0 auto;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.pos-base {
  width: 220px;
  height: 14px;
  background: #17100b;
  margin: 0 auto;
  border-radius: 9999px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

/* Ecosystem Visualizer Nodes */
.ecosystem-node {
  transition: all 0.3s ease;
  cursor: pointer;
}
.ecosystem-node:hover, .ecosystem-node.active {
  transform: scale(1.05);
  border-color: #c5221f !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(197, 34, 31, 0.18);
}

/* Gradient Text */
.text-gradient-coffee {
  background: linear-gradient(135deg, #3d2314 0%, #8b5a2b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  background: linear-gradient(135deg, #e52d27 0%, #b31217 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 600;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }
}
