/*
===============================================================================
CLIENT_AREA Styles
===============================================================================
Description: Main stylesheet for the client area
Version: 2.0
===============================================================================
*/

/* 
=============================================================================
BASE STYLES
=============================================================================
*/
html { 
  scroll-behavior: smooth; 
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  color: #333;
  background-color: #dbdedd; /* Soft gray background */
  line-height: 1.6;
}

img { 
  max-width: 100%; 
  height: auto; 
  border-radius: 15px; 
}

a { 
  text-decoration: none; 
  color: #2CA58D; 
}

.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

/* Typography */
h1, h2, h3 { 
  font-weight: 700; 
  color: #0A2342; 
}

h2 { 
  text-align: center; 
  font-size: 2.5rem; 
  margin-bottom: 40px; 
}

p { 
  font-size: 1.1rem; 
  color: #555; 
}

/* 
=============================================================================
HEADER & NAVIGATION
=============================================================================
*/
.header {
  background: #0A2342;
  padding: 1rem 0;
  position: sticky; 
  top: 0; 
  z-index: 1000;
  transition: box-shadow .2s ease;
}

.header.scrolled { 
  box-shadow: 0 6px 18px rgba(0,0,0,.15); 
}

.navbar { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.logo { 
  font-size: 1.8rem; 
  font-weight: 700; 
  color: #fff; 
}

.nav-menu { 
  list-style: none; 
  display: flex; 
  gap: 22px; 
  margin: 0; 
  padding: 0; 
  align-items: center; 
}

.nav-menu a { 
  color: #fff; 
  font-weight: 600; 
  transition: opacity .2s ease; 
}

.nav-menu a:hover { 
  opacity: .85; 
}

/* Navigation actions container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Button text visibility */
.btn-text-mobile {
  display: none;
}

.btn-text-full {
  display: inline;
}

/* Mobile hamburger menu */
.nav-toggle { 
  display: none; 
  background: none; 
  border: 0; 
  cursor: pointer; 
}

.nav-toggle-bar { 
  width: 24px; 
  height: 2px; 
  background: #fff; 
  display: block; 
  margin: 5px 0; 
  border-radius: 2px; 
}

/* 
=============================================================================
BUTTONS
=============================================================================
*/
.btn {
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex; 
  align-items: center; 
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease;
  border: none;
}

.btn-primary { 
  background: linear-gradient(135deg, #2CA58D 0%, #34D399 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(44, 165, 141, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(44, 165, 141, 0.4);
}

.btn:not(.btn-primary):hover { 
  transform: translateY(-2px); 
  box-shadow: 0 6px 18px rgba(0,0,0,.2); 
}

.btn-disabled { 
  position: relative; 
  opacity: .6; 
  cursor: not-allowed; 
  overflow: hidden; 
}

.btn-disabled:hover { 
  transform: none; 
  box-shadow: none; 
}

.soon-badge {
  position: absolute; 
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background-color: rgba(255, 0, 0, 0.8); 
  color: #fff;
  padding: 5px 18px; 
  font-size: .85rem; 
  font-weight: 700; 
  border-radius: 6px; 
  width: 100%; 
  text-align: center;
}

/* 
=============================================================================
HERO SECTION
=============================================================================
*/
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #0A2342 0%, #0E3460 100%);
  color: #fff;
}

.hero-grid { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 40px; 
}

.hero-content { 
  max-width: 55%; 
}

.hero-content h1 { 
  font-size: 3rem; 
  line-height: 1.2; 
  margin: 0 0 16px; 
  color: #fff; 
}

.hero-content p { 
  color: #e0e0e0; 
  margin: 0 0 18px; 
}

.cta-buttons { 
  display: flex; 
  gap: 20px; 
  flex-wrap: wrap; 
  margin-top: 18px;
  align-items: center;
}

.cta-subtext { 
  font-size: .95rem; 
  color: #d3e2ff; 
}

.trust-badges {
  display: flex; 
  flex-wrap: wrap; 
  gap: .75rem; 
  align-items: center;
  font-size: .95rem; 
  color: #d7e3ff; 
  margin-top: 12px;
}

.trust-badges i { 
  color: #34D399; 
}

.trust-badges-center { 
  justify-content: center; 
  color: #e6f7ff; 
}

/* Hero image slider */
.hero-image { 
  max-width: 35%; 
}

.img-slider { 
  position: relative; 
  display: inline-block; 
  --slider-position: 70%; 
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.15)); 
}

.img-slider img { 
  display: block; 
  width: 320px; 
  height: auto; 
  border-radius: 20px; 
  transition: transform .3s ease; 
}

.img-slider:hover img { 
  transform: translateY(-2px); 
}

.img-after { 
  position: relative; 
  z-index: 1; 
}

.img-before {
  position: absolute; 
  top: 0; 
  left: 0; 
  z-index: 2;
  clip-path: polygon(0% 0%, calc(var(--slider-position) * 2 - 100%) 0%, calc(var(--slider-position) * 2) 100%, 0% 100%);
  transition: clip-path .1s ease;
}

.slider {
  position: absolute; 
  bottom: -60px; 
  left: 50%; 
  transform: translateX(-50%);
  width: 85%; 
  height: 6px; 
  background: linear-gradient(to right, rgba(255,255,255,.2), rgba(255,255,255,.4));
  border-radius: 3px; 
  outline: none; 
  cursor: pointer; 
  appearance: none; 
  -webkit-appearance: none; 
  transition: height .2s ease;
}

.slider:hover { 
  height: 8px; 
}

.slider::-webkit-slider-thumb {
  appearance: none; 
  -webkit-appearance: none; 
  width: 28px; 
  height: 28px;
  background: linear-gradient(135deg, #2CA58D 0%, #34D399 100%);
  border-radius: 50%; 
  cursor: pointer; 
  border: 4px solid rgba(255,255,255,.9);
  box-shadow: 0 4px 12px rgba(44,165,141,.4), 0 2px 4px rgba(0,0,0,.1);
  transition: all .2s ease;
}

.slider::-webkit-slider-thumb:hover { 
  transform: scale(1.1); 
  box-shadow: 0 6px 16px rgba(44,165,141,.6), 0 3px 6px rgba(0,0,0,.15); 
}

.slider::-webkit-slider-thumb:active { 
  transform: scale(.95); 
}

.img-slider::after {
  content: "← | →"; 
  position: absolute; 
  bottom: -90px; 
  left: 50%; 
  transform: translateX(-50%);
  font-size: .85rem; 
  color: rgba(255,255,255,.7); 
  letter-spacing: .5px; 
  pointer-events: none;
}

/* 
=============================================================================
SECTION UTILITIES
=============================================================================
*/
section { 
  padding: 80px 0; 
}

.section-lead { 
  text-align: center; 
  max-width: 760px; 
  margin: 0 auto 30px; 
}

/* 
=============================================================================
FEATURES SECTION
=============================================================================
*/
.features .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.feature-item {
  background: #fff; 
  border: 1px solid #eef1f5; 
  border-radius: 14px; 
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.feature-item i { 
  font-size: 24px; 
  color: #2CA58D; 
}

.feature-item h3 { 
  font-size: 1.2rem; 
  margin: 12px 0 6px; 
}

.feature-item p { 
  margin: 0; 
}

/* 
=============================================================================
HOW IT WORKS SECTION
=============================================================================
*/
#how-it-works { 
  background-color: #929493; 
  color: #fff; 
}

#how-it-works h2, 
#how-it-works h3, 
#how-it-works p {
  color: #fff;
  text-shadow: 0 0 20px rgba(0,0,0,1), 0 0 4px rgba(0,0,0,.4);
}

.steps {
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 22px; 
  text-align: left;
}

.step {
  background: #1f1f1f; 
  border: 1px solid rgba(255,255,255,.12); 
  border-radius: 14px; 
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.step img { 
  border-radius: 12px; 
  box-shadow: 0 8px 25px rgba(0,0,0,.25); 
  transition: transform .3s ease; 
}

.step:hover img { 
  transform: translateY(-4px); 
}

.step h3 { 
  margin: 14px 0 6px; 
  color: #fff; 
}

.step p { 
  color: #e9e9e9; 
  margin: 0; 
}

/* 
=============================================================================
DIFFERENTIALS SECTION
=============================================================================
*/
.differentials { 
  background: #f7f9fc; 
}

.diff-grid {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 22px;
}

.diff-card {
  background: #fff; 
  border: 1px solid #eef1f5; 
  border-radius: 14px; 
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.diff-card i { 
  font-size: 24px; 
  color: #2CA58D; 
}

.diff-card h3 { 
  font-size: 1.2rem; 
  margin: 12px 0 6px; 
  color: #0A2342; 
}

.diff-card p { 
  margin: 0; 
}

.impact-phrase { 
  text-align: center; 
  font-weight: 600; 
  margin-top: 16px; 
  color: #0A2342; 
}

/* 
=============================================================================
TESTIMONIALS SECTION
=============================================================================
*/
#testimonials { 
  background-color: #303131; 
  color: #e0e0e0; 
}

#testimonials h2, 
#testimonials h3 { 
  color: #fff; 
}

#testimonials p { 
  color: #cfcccc; 
}

.testimonial-grid {
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 22px;
}

.testimonial-card {
  background: #1d1d1d; 
  padding: 26px; 
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
  border-left: 5px solid #2c6fa5; 
  color: #eceaea;
}

.testimonial-card p { 
  margin-top: 0; 
  font-style: italic; 
}

.testimonial-card span { 
  font-weight: 600; 
  color: #fff; 
}

/* 
=============================================================================
FINAL CTA SECTION
=============================================================================
*/
.final-cta {
  background: #0A2342; 
  color: #fff; 
  text-align: center;
}

.final-cta h2 { 
  color: #fff; 
}

.final-cta p { 
  color: #fff; 
  max-width: 640px; 
  margin: 0 auto 22px; 
}

.final-cta .cta-buttons { 
  display: flex; 
  gap: 20px; 
  justify-content: center; 
  margin-bottom: 10px; 
}

/* 
=============================================================================
FOOTER
=============================================================================
*/
.footer { 
  background: #0A2342; 
  color: #fff; 
  text-align: center; 
  padding: 32px 0; 
}

.footer p { 
  margin: 0 0 16px 0; 
  color: #e0e0e0; 
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a[href*="client-area"] {
  color: #2CA58D;
}

.footer-links a[href*="client-area"]:hover {
  color: #34D399;
}

/* 
=============================================================================
RESPONSIVE DESIGN
=============================================================================
*/

/* Tablet styles */
@media (max-width: 1100px) {
  .hero-content { 
    max-width: 60%; 
  }
  
  .hero-image { 
    max-width: 40%; 
  }
}

/* Mobile styles */
@media (max-width: 900px) {
  /* Mobile navigation */
  .nav-toggle { 
    display: block; 
  }
  
  .nav-menu {
    position: fixed; 
    left: 0; 
    right: 0; 
    top: 64px;
    background: #0A2342; 
    border-top: 1px solid rgba(255,255,255,.1);
    display: none; 
    flex-direction: column; 
    gap: 14px; 
    padding: 16px 20px;
    box-shadow: 0 18px 28px rgba(0,0,0,.2);
  }
  
  .nav-menu.show { 
    display: flex; 
  }

  /* CTA button adjustments for mobile */
  .btn-text-full {
    display: none;
  }
  
  .btn-text-mobile {
    display: inline;
  }
  
  .btn-cta {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Hero section adjustments */
  .hero-grid { 
    flex-direction: column; 
    text-align: center; 
  }
  
  .hero-content { 
    max-width: 100%; 
  }
  
  .hero-image { 
    max-width: 70%; 
    margin-top: 28px; 
  }

  /* Grid adjustments */
  .features .features-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .steps { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .diff-grid { 
    grid-template-columns: 1fr 1fr; 
  }
  
  .testimonial-grid { 
    grid-template-columns: 1fr; 
  }
}

/* Small mobile styles */
@media (max-width: 640px) {
  h2 { 
    font-size: 2rem; 
  }
  
  .img-slider img { 
    width: 280px; 
  }

  /* Extra compact CTA button for very small screens */
  .btn-cta {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* Single column layouts */
  .features .features-grid,
  .steps,
  .diff-grid { 
    grid-template-columns: 1fr; 
  }

  /* Button adjustments */
  .final-cta .cta-buttons { 
    flex-direction: column; 
    align-items: center; 
  }
  
  .cta-buttons { 
    justify-content: center; 
    flex-direction: column; 
    align-items: center; 
  }

  /* Footer links responsive */
  .footer-links {
    gap: 16px;
  }
  
  .footer-links a {
    font-size: 0.85rem;
  }
}
