/* ==========================================================================
   BOZ.KZ - Official Brand Stylesheet
   Brand Colors:
     Primary Steppe Blue: #2f52a0
     Dark Blue (Deep):    #122045
     Darkest Blue:        #091124
     Accent Malt Gold:    #ffe48b
     Amber Gold:          #f7ce55
     Sky Blue Accent:     #658bc8
     Neutral Light:       #f6f8fc
     Neutral Gray:        #c6c6c6
     Text Dark:           #1d1d1b
   Typography:
     Montserrat (Primary Brand Font)
   ========================================================================== */

:root {
  --color-primary: #2f52a0;
  --color-primary-dark: #1b3368;
  --color-bg-dark: #0d1730;
  --color-bg-deep: #080f21;
  --color-gold: #ffe48b;
  --color-gold-bright: #ffd447;
  --color-gold-dark: #b8922c;
  --color-sky: #658bc8;
  --color-white: #ffffff;
  --color-gray-100: #f6f8fc;
  --color-gray-200: #e5e9f2;
  --color-gray-400: #9aa5be;
  --color-gray-800: #1d1d1b;
  --font-brand: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-brand);
  background-color: var(--color-bg-deep);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #172a59 0%, #0d1730 45%, #080f21 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #080f21;
}
::-webkit-scrollbar-thumb {
  background: #2f52a0;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffe48b;
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(23, 42, 89, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 228, 139, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.glass-card-hover {
  transition: all var(--transition-smooth);
}
.glass-card-hover:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 228, 139, 0.45);
  box-shadow: 0 25px 50px rgba(47, 82, 160, 0.35);
}

/* Typography Helpers */
.text-gold {
  color: var(--color-gold);
}
.text-sky {
  color: var(--color-sky);
}
.text-gradient-gold {
  background: linear-gradient(135deg, #ffffff 0%, #ffe48b 50%, #f7ce55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #ffffff 0%, #a6c4f7 50%, #658bc8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Brand Badges */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 228, 139, 0.1);
  border: 1px solid rgba(255, 228, 139, 0.35);
  border-radius: var(--radius-full);
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-gold);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ffd447 0%, #ffe48b 60%, #e0b838 100%);
  color: #122045;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 212, 71, 0.3);
  transition: all var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(255, 212, 71, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, #ffd447 50%, #ffe48b 100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all var(--transition-smooth);
}

.btn-outline:hover {
  background: rgba(47, 82, 160, 0.3);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Header & Nav */
.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  padding: 16px 0;
}
.header-scrolled {
  background: rgba(8, 15, 33, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 228, 139, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Language Toggle Button */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  font-size: 12px;
  font-weight: 700;
}
.lang-btn {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--color-gray-400);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(47, 82, 160, 0.6);
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

/* Background Animated Ornament */
.ornament-circle-bg {
  position: absolute;
  top: 45%;
  right: -5%;
  transform: translateY(-50%);
  width: 750px;
  height: 750px;
  opacity: 0.18;
  pointer-events: none;
  animation: rotate-slow 120s linear infinite;
  filter: drop-shadow(0 0 40px rgba(47, 82, 160, 0.8));
}

@keyframes rotate-slow {
  from { transform: translateY(-50%) rotate(0deg); }
  to { transform: translateY(-50%) rotate(360deg); }
}

/* Can Presentation Interactive Container */
.hero-can-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}

.hero-can-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 228, 139, 0.3) 0%, rgba(47, 82, 160, 0.45) 45%, transparent 70%);
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
  animation: breathe-glow 6s ease-in-out infinite alternate;
}

@keyframes breathe-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 0.95; }
}

/* Hero Can: Huge, Majestic, Completely Static & Grounded */
.hero-can-img {
  position: relative;
  z-index: 2;
  height: 580px;
  max-height: 82vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 55px rgba(47, 82, 160, 0.5));
  transform: none;
  user-select: none;
  -webkit-user-drag: none;
}

@media (max-width: 1024px) {
  .hero-can-img {
    height: 480px;
  }
  .hero-can-container {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .hero-can-img {
    height: 400px;
  }
  .hero-can-container {
    min-height: 400px;
  }
}

/* Floating stats cards */
.floating-badge {
  position: absolute;
  z-index: 3;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(13, 23, 48, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 228, 139, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  animation: float-badge 4s ease-in-out infinite alternate;
}
.floating-badge-1 {
  top: 22%;
  left: -20px;
  animation-delay: 0s;
}
.floating-badge-2 {
  bottom: 25%;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Section Dividers with Pattern */
.pattern-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px 0;
  opacity: 0.6;
}
.pattern-divider img {
  max-width: 320px;
  height: auto;
  filter: brightness(1.5) drop-shadow(0 0 10px rgba(255, 228, 139, 0.3));
}

/* Brewing Process Steps */
.step-item {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(23, 42, 89, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
}
.step-item:hover {
  background: rgba(47, 82, 160, 0.35);
  border-color: rgba(255, 228, 139, 0.3);
  transform: translateY(-4px);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffe48b 0%, #2f52a0 100%);
  color: #122045;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

/* Form Styles */
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(13, 23, 48, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: inherit;
  font-size: 15px;
  transition: all var(--transition-fast);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(255, 228, 139, 0.25);
  background: rgba(18, 32, 69, 0.9);
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-400);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Quick Action Button for Mobile */
.floating-mobile-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floating-circle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast);
  text-decoration: none;
}
.floating-circle-btn:hover {
  transform: scale(1.1);
}

/* Mobile responsive menu */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #0c1731;
  border-left: 1px solid rgba(255, 228, 139, 0.2);
  z-index: 150;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
}
.mobile-nav-drawer.open {
  right: 0;
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
