/* BillNest AI Custom Styles */

/* =====================================
   CSS CUSTOM PROPERTIES - BRAND COLORS
   ===================================== */
:root {
  /* Primary Brand Colors */
  --sage-green: #798C57;
  --lime-green: #89B247;
  --bright-lime: #8DC63F;
  --gray-green: #90918B;
  --light-sage: #CED1C1;
  --cream-green: #E4E8D9;

  /* Additional Color Variations */
  --primary: var(--sage-green);
  --primary-light: var(--light-sage);
  --primary-lighter: var(--cream-green);
  --accent: var(--bright-lime);
  --secondary: var(--lime-green);

  /* Semantic Colors */
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);

  /* Border Radius */
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
}

/* =====================================
   BASE STYLES
   ===================================== */
body {
    font-family: var(--font-primary), serif;
  font-weight: 400;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display), serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1a252f;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--font-display), serif;
  font-weight: 700;
}

/* Lead text */
.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Text colors */
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-light-gray { color: rgba(255, 255, 255, 0.8) !important; }

/* Background colors */
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-primary-lighter { background-color: var(--primary-lighter) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-secondary { background-color: var(--secondary) !important; }

.bg-light{
    background-color: rgba(137, 179, 71, 0.17) !important;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
}

.bg-gradient-light {
  background: linear-gradient(135deg, var(--cream-green) 0%, var(--light-sage) 100%);
}

.insight-suggestion{
    background-color: white;
}

.insight-suggestion > small{
    color: black;
}

.btn {
  font-family: var(--font-primary), serif;
  font-weight: 500;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

.btn-success-light {
  background-color: rgba(40, 167, 69, 0.1);
  border-color: transparent;
  color: var(--success);
}

.btn-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

.brand-text {
  color: var(--primary);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #2c3e50 !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.min-vh-75 {
  min-height: 75vh;
}

.hero-phone-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 50%;
  left: -5%;
  animation-delay: 2s;
}

.floating-card.card-3 {
  bottom: 20%;
  right: 15%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.feature-card {
  background: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

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

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.section-badge .badge {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: var(--border-radius-xl);
}

.dashboard-mockup {
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.widget-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.category-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.interface-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.avatar {
  font-size: 1.2rem;
}

.mini-widget {
  font-size: 0.75rem;
}

.screenshot-container {
  min-height: 500px;
  display: flex;
  align-items: center;
}

.screenshot-placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.download-stats .stat-number {
  color: var(--accent);
}

.qr-placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.3);
}

.legal-hero {
  padding: 4rem 0;
}

.legal-content {
  font-size: 1rem;
  line-height: 1.7;
}

.content-section {
  scroll-margin-top: 100px;
}

.list-styled {
  list-style: none;
  padding-left: 0;
}

.list-styled li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.list-styled li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.security-feature,
.service-feature,
.account-section,
.termination-type {
  transition: all 0.3s ease;
}

.security-feature:hover,
.service-feature:hover,
.account-section:hover,
.termination-type:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

footer {
  background-color: #1a252f !important;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.hover-primary:hover {
  color: var(--primary) !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section {
    min-height: 85vh;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --section-padding: 6rem 0;
  }

  .hero-section {
    min-height: 90vh;
  }

  .floating-card {
    opacity: 1;
  }

  .btn-floating {
    display: flex;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 95vh;
  }

  .navbar {
    padding: 1.5rem 0;
  }

  .feature-card {
    min-height: 350px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }

  .hero-content {
    padding-right: 2rem;
  }
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.border-primary-light {
  border-color: var(--primary-light) !important;
}

.rounded-xl {
  border-radius: var(--border-radius-xl) !important;
}

.shadow-custom {
  box-shadow: var(--shadow);
}

.shadow-custom-lg {
  box-shadow: var(--shadow-lg);
}

html {
  scroll-behavior: smooth;
}

.btn:focus,
.nav-link:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media print {
  .navbar,
  .btn-floating,
  footer {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}

.download{
  width: 160px;
  height: 65px;
}

/* Custom Accordion Styling with Your Brand Colors */
.accordion-button {
  background-color: var(--cream-green);
  color: var(--sage-green);
  border: 1px solid var(--light-sage);
  font-weight: 600;
  transition: all 0.3s ease;
}

/* Active/Expanded state */
.accordion-button:not(.collapsed) {
  background-color: var(--sage-green);
  color: white;
  border-color: var(--sage-green);
  box-shadow: 0 0 0 0.25rem rgba(121, 140, 87, 0.25);
}

/* Hover state */
.accordion-button:hover {
  background-color: var(--light-sage);
  color: var(--sage-green);
}

/* Focus state */
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(121, 140, 87, 0.25);
  border-color: var(--sage-green);
}

/* Arrow icon color when active */
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* Accordion body styling */
.accordion-body {
  background-color: #fff;
  border-top: 1px solid var(--light-sage);
  color: #666;
}

/* Accordion item borders */
.accordion-item {
  border: 1px solid var(--light-sage);
  background-color: transparent;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}