/* ==========================================================================
   GenResurs 2026 Signature Smoked Glass & Gold Stylesheet
   Direction: Authentic Televenta / GenResurs Smoked Glass Chassis
   ========================================================================== */

/* Header & Navigation (Smoked Frosted Glass) */
.gr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: linear-gradient(180deg, rgba(28, 23, 33, 0.92) 0%, rgba(14, 11, 18, 0.96) 100%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(225, 222, 231, 0.12);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s ease;
}

.gr-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.gr-header-inner .gr-nav-link,
.gr-header-inner .gr-badge-gold,
.gr-header-inner button {
  white-space: nowrap !important;
}

/* Hero Section */
.gr-hero {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .gr-hero {
    padding-top: 5rem;
    padding-bottom: 7rem;
  }
}

.gr-hero-headline {
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

@media (min-width: 640px) {
  .gr-hero-headline {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .gr-hero-headline {
    font-size: 4rem;
    line-height: 1.1;
  }
}

.gr-hero-subhead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 680px;
  margin: 1.25rem auto 0;
}

@media (min-width: 768px) {
  .gr-hero-subhead {
    font-size: 1.18rem;
  }
}

/* Tariff Pill Highlight in Hero (Smoked Glass with Gold Border) */
.gr-tariff-pill-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(145deg, rgba(38, 31, 46, 0.75) 0%, rgba(18, 14, 22, 0.9) 100%);
  border: 1px solid rgba(255, 220, 0, 0.35);
  border-radius: 16px;
  padding: 0.85rem 1.4rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 220, 0, 0.1);
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .gr-tariff-pill-box {
    flex-direction: row;
    border-radius: 9999px;
    padding: 0.55rem 1.35rem;
  }
}

/* ==========================================================================
   Authentic VectorGlass Chamfered Major Blocks (.gold-major-block)
   Reproduces the exact geometric floating chamfer cuts & smoked glass panels
   ========================================================================== */
.gold-major-block {
  position: relative !important;
  isolation: isolate !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gold-card-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: visible !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  filter: drop-shadow(0 18px 48px rgba(0, 0, 0, 0.72)) drop-shadow(0 0 24px rgba(255, 220, 0, 0.05)) !important;
}

.gold-card-bg path.gold-card-body {
  fill: url(#global-card-fill) !important;
  stroke: url(#global-corner-edge) !important;
  stroke-width: 0.95px !important;
}

.gold-major-block > .gold-chamfer-surface {
  position: relative !important;
  z-index: 3 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  width: 100% !important;
}

.gold-corner-svg-wrap {
  position: absolute !important;
  width: 58px !important;
  height: 58px !important;
  pointer-events: none !important;
  z-index: 10 !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

.gold-corner-top {
  top: 0 !important;
  left: 0 !important;
}

.gold-corner-bottom {
  bottom: 0 !important;
  right: 0 !important;
}

/* Neutralize laser sweep if present so it matches the clean static image */
.gold-card-bg .reference-laser-sweep,
.gold-corner-svg-wrap .reference-laser-sweep {
  display: none !important;
}

/* Hero Interactive Architecture Simulation (Smoked Glass Chassis) */
.gr-hero-mockup-frame {
  position: relative;
  max-width: 1100px;
  margin: 3.5rem auto 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.gr-hero-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(22, 17, 26, 0.92);
  border-bottom: 1px solid rgba(225, 222, 231, 0.10);
}

.gr-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .gr-hero-grid {
    grid-template-columns: 1.1fr 0.8fr 1.1fr;
    align-items: center;
    padding: 2.25rem;
    gap: 2rem;
  }
}

/* Sub-Cards inside Hero Showcase: Clean Smoked Glass Cards */
.gr-sub-glass-card,
.gr-call-card-wa,
.gr-route-core-box,
.gr-call-card-sip {
  position: relative;
  background: linear-gradient(145deg, rgba(38, 30, 48, 0.52) 0%, rgba(18, 14, 24, 0.76) 100%) !important;
  border: 1px solid rgba(225, 222, 231, 0.12) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(160%) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.08) !important;
  padding: 1.25rem 1.4rem;
  transition: all 0.2s ease;
}

.gr-call-card-wa {
  border-color: rgba(37, 211, 102, 0.3) !important;
}

.gr-call-card-wa::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gr-accent-wa);
  border-radius: 14px 0 0 14px;
}

.gr-route-core-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-color: rgba(255, 220, 0, 0.35) !important;
  text-align: center;
}

.gr-call-card-sip {
  border-color: rgba(255, 208, 9, 0.35) !important;
}

.gr-call-card-sip::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gr-accent-gold);
  border-radius: 0 14px 14px 0;
}
}

.gr-call-card-sip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #ffdc00;
}

/* Feature 3-Pillars (Smoked Glass Cards) */
.gr-feature-card {
  background: linear-gradient(145deg, rgba(44, 37, 52, 0.52) 0%, rgba(18, 14, 22, 0.78) 100%);
  border: 1px solid rgba(225, 222, 231, 0.12);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 10px 36px 0 rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gr-feature-card:hover {
  border-color: rgba(255, 231, 53, 0.45);
  background: linear-gradient(145deg, rgba(58, 49, 68, 0.65) 0%, rgba(24, 18, 30, 0.88) 100%);
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 220, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.gr-feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

/* Step Timeline (Onboarding Glass Cards) */
.gr-step-card {
  position: relative;
  background: linear-gradient(145deg, rgba(42, 35, 50, 0.5) 0%, rgba(18, 14, 22, 0.78) 100%);
  border: 1px solid rgba(225, 222, 231, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.gr-step-card:hover {
  border-color: rgba(255, 231, 53, 0.42);
  background: linear-gradient(145deg, rgba(54, 45, 64, 0.62) 0%, rgba(24, 18, 30, 0.88) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 220, 0, 0.1);
}

.gr-step-number {
  font-family: var(--gr-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #10191c;
  background: linear-gradient(110deg, #fff044 0%, #ffdc00 100%);
  border: 1px solid rgba(255, 240, 68, 0.5);
  box-shadow: 0 2px 8px rgba(255, 220, 0, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Integration Grid (Glass Tiles) */
.gr-integ-card {
  background: linear-gradient(145deg, rgba(40, 33, 48, 0.48) 0%, rgba(18, 14, 22, 0.75) 100%);
  border: 1px solid rgba(225, 222, 231, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.gr-integ-card:hover {
  border-color: rgba(255, 231, 53, 0.4);
  background: linear-gradient(145deg, rgba(52, 43, 62, 0.65) 0%, rgba(24, 18, 30, 0.88) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 18px rgba(255, 220, 0, 0.1);
}

/* ==========================================================================
   Signature Smoked Glass Split Auth Modal
   ========================================================================== */

#modalAuth {
  background: rgba(0, 0, 0, 0.82) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}

.gr-auth-container {
  display: flex;
  width: 100%;
  max-width: 860px;
  min-height: 520px;
  background: linear-gradient(145deg, rgba(34, 28, 40, 0.88) 0%, rgba(15, 12, 19, 0.96) 100%);
  border: 1px solid rgba(225, 222, 231, 0.16);
  border-radius: 20px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 25px 70px -10px rgba(0, 0, 0, 0.88), 0 0 40px rgba(255, 220, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
  z-index: 10;
  margin: 1.5rem;
}

/* Left Brand Panel (Desktop Smoked Glass) */
.gr-auth-side-panel {
  display: none;
  width: 340px;
  background: linear-gradient(180deg, rgba(26, 20, 32, 0.95) 0%, rgba(12, 9, 16, 0.98) 100%);
  border-right: 1px solid rgba(225, 222, 231, 0.12);
  padding: 2.25rem 2rem;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .gr-auth-side-panel {
    display: flex;
  }
}

.gr-auth-side-glow {
  position: absolute;
  top: -50px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 220, 0, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

/* Right Form Area (Smoked Glass Surface) */
.gr-auth-form-area {
  flex: 1;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: transparent;
}

@media (min-width: 640px) {
  .gr-auth-form-area {
    padding: 2.5rem 2.5rem;
  }
}

/* Auth Input Fields (Frosted Glass Inputs) */
.gr-auth-input {
  width: 100%;
  height: 44px;
  background: rgba(18, 14, 22, 0.7);
  border: 1px solid rgba(172, 163, 176, 0.18);
  border-radius: 10px;
  padding: 0 1rem;
  font-size: 0.9375rem;
  color: #f4f3f5;
  font-family: var(--gr-font-sans);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.gr-auth-input:focus {
  border-color: rgba(255, 220, 0, 0.65);
  box-shadow: 0 0 14px rgba(255, 220, 0, 0.22);
}

.gr-auth-input::placeholder {
  color: #6b7280;
}

.gr-auth-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

/* Auth Mode Toggle Tabs (Glass Switcher) */
.gr-auth-mode-tabs {
  display: flex;
  background: rgba(16, 12, 20, 0.85);
  border: 1px solid rgba(225, 222, 231, 0.12);
  border-radius: 10px;
  padding: 3px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.gr-auth-mode-tab {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b7b2bb;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gr-auth-mode-tab.active {
  background: linear-gradient(110deg, #fff044 0%, #ffdc00 100%);
  color: #10191c;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255, 220, 0, 0.3);
}

/* Close button for modals */
.gr-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(225, 222, 231, 0.14);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  z-index: 20;
}

.gr-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 231, 53, 0.4);
}

/* Mobile Drawer Menu (Frosted Smoked Glass) */
.gr-mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(24, 19, 30, 0.96) 0%, rgba(10, 8, 14, 0.98) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(225, 222, 231, 0.12);
  overflow-y: auto;
}

/* ==========================================================================
   Section 4 Interactive Demo: 1:1 Parity with LK WhatsApp Messenger
   ========================================================================== */
#demoPanelChat {
  padding: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
  border-radius: 0 0 16px 16px !important;
}

#demoPanelChat .wa-app-container {
  height: 520px !important;
  min-height: 480px !important;
  max-height: 540px !important;
  border-radius: 0 0 16px 16px !important;
  border: none !important;
  box-shadow: none !important;
}

#demoPanelChat .wa-left-pane {
  background: linear-gradient(180deg, rgba(14, 16, 22, 0.98) 0%, rgba(8, 9, 13, 0.98) 100%) !important;
}

#demoPanelChat .wa-right-pane {
  background-color: #07080b !important;
}

/* Chamfer Corner Clearance: Protect All Working / Interactive Elements */
.gr-showcase-header {
  min-height: 68px !important;
  padding-left: clamp(74px, 6vw, 84px) !important;
}

#demoPanelChat .wa-input-footer {
  padding-right: clamp(80px, 7vw, 92px) !important;
}

#demoPanelSip {
  padding-right: clamp(24px, 5vw, 72px) !important;
  padding-bottom: 2rem !important;
}

#demoPanelApi {
  padding-right: clamp(24px, 5vw, 72px) !important;
  padding-bottom: 2rem !important;
}

@media (max-width: 767px) {
  #demoPanelChat .wa-app-container {
    height: 500px !important;
    min-height: 440px !important;
  }
  #wa-bottom-nav {
    padding-right: 76px !important;
  }
}

