/* ========================================================
   PREMIUM GLASSMORPHISM UI THEME FOR TUNAS BERKAH PER
   Precision Spring & Shimplate Manufacturing Specialist
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --glass-primary: #0284C7;         /* Radiant Oceanic Cyan-Blue */
  --glass-primary-hover: #0369A1;   /* Deeper Ocean Blue */
  --glass-primary-light: #E0F2FE;   /* Ice Crystal Blue */
  --glass-dark: #0F172A;            /* Deep Obsidian Navy */
  --glass-slate: #475569;           /* Refined Text Slate */
  --glass-bg: #F0F5FA;              /* Subtle Ambient Light Canvas */
  --glass-accent: #F59E0B;          /* Amber Gold Highlight */
  --glass-radius: 24px;             /* Curvature for Glass Cards */
  
  /* Glassmorphic Core Shadows & Reflections */
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-border-subtle: rgba(2, 132, 199, 0.15);
  --glass-shadow: 0 12px 36px -8px rgba(15, 23, 42, 0.08), 0 4px 16px -2px rgba(2, 132, 199, 0.04);
  --glass-shadow-hover: 0 22px 48px -10px rgba(2, 132, 199, 0.18), 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --glass-specular: inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--glass-bg);
  background-image: 
    radial-gradient(at 10% 10%, rgba(224, 242, 254, 0.7) 0px, transparent 40%),
    radial-gradient(at 90% 20%, rgba(199, 210, 254, 0.45) 0px, transparent 45%),
    radial-gradient(at 50% 60%, rgba(224, 231, 255, 0.35) 0px, transparent 50%),
    radial-gradient(at 80% 90%, rgba(207, 250, 254, 0.5) 0px, transparent 45%);
  background-attachment: fixed;
  color: var(--glass-slate);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  color: var(--glass-dark);
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* ========================================================
   AMBIENT GLOWING GLASS ORBS (Dynamic Background Depth)
   ======================================================== */
.glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events-none;
  z-index: 0;
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.glass-orb-cyan {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.5) 0%, rgba(2, 132, 199, 0.15) 70%, transparent 100%);
}

.glass-orb-blue {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, rgba(30, 58, 138, 0.12) 70%, transparent 100%);
}

.glass-orb-amber {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, rgba(217, 119, 6, 0.12) 70%, transparent 100%);
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ========================================================
   GLASSMORPHISM CORE CARDS & PANELS
   ======================================================== */
.card-cleanox,
.glass-card {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-radius: var(--glass-radius) !important;
  border: 1px solid var(--glass-border) !important;
  box-shadow: var(--glass-shadow), var(--glass-specular) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
}

.card-cleanox:hover,
.glass-card:hover {
  transform: translateY(-6px) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  box-shadow: var(--glass-shadow-hover), var(--glass-specular) !important;
}

/* Frosted Glass Floating Counter & Review Box */
.float-box-cleanox,
.glass-floating-box {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.14), var(--glass-specular) !important;
}

/* Frosted Glass Navigation Bar */
.glass-nav-bar {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(22px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(190%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

/* Frosted Glass Topbar */
.glass-topbar {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* ========================================================
   GLASSMORPHIC BADGES & PILLS
   ======================================================== */
.badge-cleanox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(224, 242, 254, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #0284C7 !important;
  border: 1px solid rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
}

.badge-cleanox-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(254, 243, 199, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  color: #D97706 !important;
  border: 1px solid rgba(217, 119, 6, 0.3) !important;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.8) !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0 !important;
}

/* ========================================================
   CRITICAL ANTI-STACKING & ANTI-WRAPPING RULES (ZERO OVERLAP)
   ======================================================== */
.cleanox-no-wrap,
.cleanox-logo-title,
.cleanox-nav-link,
.cleanox-btn-cta,
.nowrap {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  flex-shrink: 0 !important;
}

.cleanox-logo-container {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

.cleanox-logo-title {
  display: inline-block !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.cleanox-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  border-radius: 9999px !important;
  transition: all 0.25s ease !important;
}

.cleanox-nav-link:hover {
  background: rgba(2, 132, 199, 0.08) !important;
  backdrop-filter: blur(8px) !important;
}

.cleanox-btn-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

.cleanox-btn-cta:hover {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%) !important;
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
}

/* ========================================================
   GLASSMORPHIC BUTTONS
   ======================================================== */
.btn-glass-primary {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glass-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px -4px rgba(2, 132, 199, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;
}

.btn-glass-white {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #0F172A !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.9) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-glass-white:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.1), inset 0 1px 1px rgba(255, 255, 255, 1) !important;
}

/* ========================================================
   IMAGE ZOOM & STYLING FOR AI PHOTOGRAPHY
   ======================================================== */
.img-card-container {
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background-color: #E2E8F0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

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

.card-cleanox:hover .img-card-container img {
  transform: scale(1.06);
}

/* ========================================================
   GLASSMORPHIC CALL-TO-ACTION BANNER
   ======================================================== */
.banner-cleanox-gradient {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.92) 0%, rgba(3, 105, 161, 0.94) 50%, rgba(7, 89, 133, 0.96) 100%) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border-radius: 32px !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 24px 50px -10px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
  position: relative;
  overflow: hidden;
}

.banner-cleanox-gradient::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events-none;
}

/* Glass Workflow Step Number */
.step-number-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* Category Filter Active Glass Pill */
.filter-cleanox-active {
  background: linear-gradient(135deg, #0284C7 0%, #0EA5E9 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.5) !important;
}

/* Glass Filter Inactive Pills */
.filter-btn:not(.filter-cleanox-active) {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: #334155 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.filter-btn:not(.filter-cleanox-active):hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(2, 132, 199, 0.4) !important;
  color: #0284C7 !important;
}

/* ========================================================
   GLASS FAQ ACCORDION ANIMATION
   ======================================================== */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-answer.open {
  max-height: 400px;
  opacity: 1;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* ========================================================
   GLASS FORM INPUTS & SELECTS
   ======================================================== */
.glass-input,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(203, 213, 225, 0.8) !important;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.25s ease !important;
}

input:focus, select:focus, textarea:focus {
  background: rgba(255, 255, 255, 0.95) !important;
  border-color: #0284C7 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18), inset 0 1px 2px rgba(2, 132, 199, 0.05) !important;
}

/* ========================================================
   DARK OBSIDIAN FROSTED GLASS FOOTER
   ======================================================== */
.glass-footer-dark {
  background: rgba(15, 23, 42, 0.94) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  position: relative;
  overflow: hidden;
}

/* Mobile Drawer Frosted Glass */
.glass-drawer {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* Floating WhatsApp Glass Button */
.glass-wa-float {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 12px 30px -4px rgba(16, 185, 129, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}

/* Smooth Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.8);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.8);
  border-radius: 9999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 0.9);
}
