/*===== DEARNEX BRAND DESIGN SYSTEM =====*/

:root {
  --dn-dark: #0f1115;
  --dn-dark-card: #181b21;
  --dn-blue: #02b4fe;
  --dn-blue-hover: #009be0;
  --dn-blue-light: rgba(0, 162, 255, 0.08);
  --dn-gray-bg: #f8f9fa;
  --dn-gray-border: #e9ecef;
  --dn-text-muted: #6c757d;
  --dn-font: 'Plus Jakarta Sans', sans-serif;
}

body {
  font-family: var(--dn-font);
  background-color: #ffffff;
  color: var(--dn-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Customizations */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: #4a505a;
  line-height: 1.6;
}

/* Custom Interactive Buttons */
.btn-dn-primary {
  background-color: var(--dn-blue);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: none;
  transition: all 0.2s ease-in-out;
}
.btn-dn-primary:hover {
  background-color: var(--dn-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 162, 255, 0.25);
}

.btn-dn-secondary {
  background-color: var(--dn-dark);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease-in-out;
}
.btn-dn-secondary:hover {
  background-color: #212529;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-dn-outline {
  background-color: transparent;
  color: var(--dn-dark);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  border: 2px solid var(--dn-dark);
  transition: all 0.2s ease-in-out;
}
.btn-dn-outline:hover {
  background-color: var(--dn-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Flupio Red Brand Button Utility */
.btn-flupio-red {
  background-color: #e31e1b;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 2.25rem;
  border-radius: 50px;
  border: none;
  transition: all 0.2s ease-in-out;
  letter-spacing: 0.05em;
  display: inline-block;
  text-decoration: none;
}
.btn-flupio-red:hover {
  background-color: #ffffff;
  color: #e31e1b;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Flupio Brand Block Styling */
.flupio-brand-block {
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.flupio-brand-logo-area {
  padding: 2rem;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flupio-brand-action-area {
  padding: 2.5rem 2rem;
  background-color: #e31e1b;
  position: relative;
  text-align: center;
}
.flupio-wave-svg {
  width: 100%;
  height: auto;
  display: block;
  background-color: #ffffff;
  margin-top: -1px;
}



/* Placeholder custom styling */
.maintenance-card input::placeholder,
.maintenance-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
.maintenance-card select option {
  background-color: var(--dn-dark-card);
  color: #ffffff;
}

.maintenance-title {
  font-size: 2.5rem !important;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, var(--dn-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.25rem;
}

/* Sticky Navbar Styling */
.navbar {
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--dn-gray-border);
  padding: 1rem 0;
}
.navbar.scrolled {
  padding: 0.6rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.nav-link {
  font-weight: 600;
  color: var(--dn-dark) !important;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--dn-blue) !important;
}

/* Logo Design Structure */
.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--dn-dark);
  margin: 0;
  display: flex;
  align-items: center;
}
.logo-x {
  color: var(--dn-blue);
  position: relative;
  font-weight: 900;
}

/* Hero Elements */
.hero-section {
  padding: 9rem 0 7rem 0;
  background-color: #ffffff;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(0, 162, 255, 0.08) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(rgba(0, 162, 255, 0.04) 1px, transparent 0);
  background-size: 100% 100%, 24px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--dn-blue-light);
  color: var(--dn-blue);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 162, 255, 0.15);
}

.text-gradient {
  background: linear-gradient(135deg, var(--dn-dark) 30%, var(--dn-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Mockups Layouts */
.hero-mockup-wrapper {
  position: relative;
}
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--dn-gray-border);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 17, 21, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  transition: all 0.3s ease;
}
.floating-badge.badge-top {
  top: 40px;
  left: -30px;
}
.floating-badge.badge-bottom {
  bottom: 40px;
  right: -20px;
}
.floating-badge i {
  color: var(--dn-blue);
  font-size: 1.25rem;
}
.floating-badge span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dn-dark);
}

.mockup-switcher-tabs {
  display: inline-flex;
  background-color: var(--dn-gray-bg);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid var(--dn-gray-border);
  margin-bottom: 1rem;
}
.mockup-switcher-tabs button {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  color: var(--dn-text-muted);
  transition: all 0.2s ease;
}
.mockup-switcher-tabs button.active {
  background-color: #ffffff;
  color: var(--dn-dark);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mockup-container {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(15, 17, 21, 0.15);
  border: 1px solid var(--dn-gray-border);
  overflow: hidden;
  background-color: #ffffff;
}
.mockup-header {
  background-color: #f1f3f5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--dn-gray-border);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red { background-color: #ff5f56; }
.mockup-dot.yellow { background-color: #ffbd2e; }
.mockup-dot.green { background-color: #27c93f; }
.mockup-address {
  background-color: #ffffff;
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 2px 16px;
  color: var(--dn-text-muted);
  margin-left: 20px;
  flex-grow: 1;
  max-width: 300px;
  text-align: center;
  border: 1px solid var(--dn-gray-border);
}

/* Trust Proof Grid */
.proof-bar {
  background-color: var(--dn-dark);
  color: #ffffff;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.proof-item i {
  color: var(--dn-blue);
  font-size: 1.5rem;
}
.proof-item span {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* Custom Pills / Tabs */
.nav-pills-custom {
  display: inline-flex;
  background-color: var(--dn-gray-bg);
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--dn-gray-border);
}
.nav-pills-custom .nav-link {
  border-radius: 8px;
  color: var(--dn-text-muted) !important;
  font-weight: 700;
  padding: 0.6rem 1.5rem !important;
  transition: all 0.2s ease;
}
.nav-pills-custom .nav-link.active {
  background-color: var(--dn-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0, 162, 255, 0.15);
}

/* Cards Layout structures */
.dn-card {
  border: 1px solid var(--dn-gray-border);
  border-radius: 16px;
  padding: 2.5rem;
  background-color: #ffffff;
  transition: all 0.3s ease;
  height: 100%;
}
.dn-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  border-color: rgba(0, 162, 255, 0.2);
}
.dn-card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--dn-blue-light);
  color: var(--dn-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.75rem;
}

/* Dashboard Statistics Counter Panel */
.why-dearnex-stats {
  background-color: var(--dn-dark-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
}

/* Flupio Mapping Grid */
.flow-step-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--dn-gray-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  z-index: 2;
}
.flow-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dn-blue);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(0, 162, 255, 0.3);
}

/* General Layout Padding Customisations */
.section-padding {
  padding: 6.5rem 0;
}
.bg-dark-section {
  background-color: var(--dn-dark);
  color: #ffffff;
}
.bg-dark-section p {
  color: #a0a5b0;
}
.bg-dark-section .dn-card {
  background-color: var(--dn-dark-card);
  border-color: rgba(255,255,255,0.05);
  color: #ffffff;
}
.bg-dark-section .dn-card p {
  color: #a0a5b0;
}

/* Process Timeline Icons */
.process-step {
  position: relative;
}
.process-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--dn-blue-light);
  color: var(--dn-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem auto;
  border: 2px solid var(--dn-blue);
  position: relative;
  z-index: 2;
}
.process-step-num {
  position: absolute;
  right: -2px;
  top: -2px;
  width: 22px;
  height: 22px;
  background-color: var(--dn-dark);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Showcase Grid Layout Card */
.theme-card {
  border: none;
  background: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.theme-card:hover {
  transform: translateY(-8px);
}
.theme-card img {
  border-radius: 12px;
  border: 1px solid var(--dn-gray-border);
  transition: border-color 0.2s ease;
}
.theme-card:hover img {
  border-color: var(--dn-blue);
}

/* Testimonial Structure */
.testimonial-card {
  background-color: #ffffff;
  border: 1px solid var(--dn-gray-border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Footer Section Styling */
footer {
  background-color: var(--dn-dark);
  color: #ffffff;
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
footer a {
  color: #a0a5b0;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer a:hover {
  color: var(--dn-blue);
}
footer h5 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/*===== MOBILE-ONLY ABOVE THE FOLD CRO OVERRIDES =====*/
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 0 !important;
  }
  .navbar-brand img {
    height: 28px !important;
  }
  
  .hero-section {
    padding: 6rem 0 4rem 0 !important;
  }

  /* Compact Product Details Block */
  .mobile-product-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .mobile-product-title {
    font-size: 1.35rem !important;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .mobile-reviews-summary {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .mobile-reviews-summary i {
    color: #ffc107;
  }

  .mobile-price-container {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1rem;
  }
  
  .mobile-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dn-dark);
  }
  
  .mobile-price-original {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: var(--dn-text-muted);
  }

  .mobile-urgent-tag {
    font-size: 0.8rem;
    color: #d9534f;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Mobile Variant Selectors Grid */
  .mobile-variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.5rem;
  }
  
  .mobile-variant-box label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dn-dark);
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
  }
  
  .mobile-variant-box select {
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.5rem;
    border: 1px solid var(--dn-gray-border);
    width: 100%;
    font-weight: 600;
  }

  /* Sticky Bottom Buy Bar */
  .mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid var(--dn-gray-border);
    padding: 0.75rem 1rem;
    z-index: 1040;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .mobile-sticky-thumbnail {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--dn-gray-border);
  }
  
  .mobile-sticky-meta {
    flex-grow: 1;
  }
  
  .mobile-sticky-title {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    margin-bottom: 2px;
  }
  
  .mobile-sticky-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dn-blue);
  }
  
  .mobile-sticky-btn {
    flex-grow: 2;
    padding: 0.7rem 1rem !important;
    font-size: 0.9rem !important;
  }
}

