:root {
  --bg-dark: #0a0a12;
  --bg-card: #13131f;
  --bg-card-hover: #1c1c2e;
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.4);
  --accent: #a855f7;
  --success: #10b981;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border: #2d2d42;
  --radius: 16px;
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;
}

/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #212529;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #32353a;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5d57f4;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a5a3a3;
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3a3939;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5d57f4;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Glow */
.background-glow {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-muted);
}

/* Card Styles */
.selection-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  /* Ensure full height in grid */
}

.selection-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.selection-card.selected {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.selection-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.selection-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.selection-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Slider */
.slider-container {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tiny-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  font-style: italic;
}

.form-range {
  height: 6px;
  background: transparent;
  /* Bootstrap sets bg, we want custom track */
}

.form-range::-webkit-slider-runnable-track {
  background: var(--border);
  border-radius: 3px;
}

.form-range::-webkit-slider-thumb {
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.2s;
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

/* Checkboxes */
.checkbox-card {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0;
  /* Bootstrap label margin override */
}

.checkbox-card:hover {
  border-color: var(--primary);
}

.checkbox-card input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--text-muted);
  border-radius: 4px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.checkbox-card input:checked + .checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox-card input:checked + .checkmark::after {
  content: "✓";
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-card input:checked ~ .label-text {
  color: var(--text-main);
}

/* Specific style for disabled CMS card */
.checkbox-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background: #0f0f15;
}

.label-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Summary Section */
.sticky-summary {
  position: sticky;
  top: 40px;
  background: rgba(19, 19, 31, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.price-display {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  line-height: 1;
}

.currency {
  font-size: 1.5rem;
  margin-top: 8px;
  margin-right: 4px;
  color: var(--text-muted);
}

.breakdown {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.breakdown-item {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.breakdown-item span:last-child {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
}

/* Highlight Item Style (Launch Pack) */
.highlight-item {
  color: var(--success) !important;
  font-weight: 600;
}

.highlight-item span:last-child {
  color: var(--success) !important;
}

.divider {
  border-color: var(--border);
  opacity: 1;
}

/* Button Overrides */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  color: white;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--primary-glow);
  color: white;
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
  border-color: var(--primary);
  color: var(--text-main);
  background: rgba(99, 102, 241, 0.1);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Animations */
.input-group,
.sticky-summary {
  animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
    # Global Header
    --------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 2000;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 50px;
  margin-right: 8px;
  filter: brightness(0) invert(1);
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 24px;
  font-weight: 600;
  padding-left: 3px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  position: relative;
  color: var(--contrast-color);
  background: linear-gradient(135deg, #2563eb, var(--accent-color));
  font-size: 14px;
  padding: 8px 26px;
  margin: 0px;
  border-radius: 4px;
  overflow: hidden;
  transition: 0.3s;
  z-index: 1;
  cursor: pointer;
  border: none;
}

.header .btn-getstarted::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: 0.3s;
  z-index: 2;
}

.header .btn-getstarted:hover::before {
  animation: 0.8s ease 0s 1 normal forwards running shine;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: linear-gradient(135deg, rgb(37, 99, 235), rgb(59, 130, 246));
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: linear-gradient(135deg, rgb(37, 99, 235), rgb(59, 130, 246));
}


/* Main Button Styles */
.header .btn-whatsapp,
.header .btn-whatsapp:focus {
  position: relative;
  color: #fff;
  background: #25d366; 
  
  /* Circle Shape */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  
  /* Centering the Icon */
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Icon Size */
  font-size: 20px;
  
  margin: 0;
  overflow: hidden;
  transition: 0.3s;
  z-index: 10; /* Increased z-index to ensure it sits on top */
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Shine Effect */
.header .btn-whatsapp::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: 0.3s;
  z-index: 2;
}

.header .btn-whatsapp:hover::before {
  animation: 0.8s ease forwards shine;
}

@keyframes shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* Hover State */
.header .btn-whatsapp:hover,
.header .btn-whatsapp:focus:hover {
  background: #25d366; 
  color: #fff;
  /* If using absolute positioning in mobile, we handle scale differently there to prevent jumping */
  transform: scale(1.05); 
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  /* .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  } */

  .header .btn-whatsapp {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}


.scrolled .header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(19, 19, 31, 0.15);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);

  --default-color: var(--text-main);
  --heading-color: var(--text-main);
  --nav-color: var(--text-main);
  /* overflow: hidden; */
}

/* Glass layer */
.scrolled .header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 31, 0.15);

  /* blur goes here, not on the header */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: -1;
  /* behind everything → no conflict */
}

/*--------------------------------------------------------------
      # Navigation Menu
  --------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
    # Global Footer
    --------------------------------------------------------------*/
.footer {
  color: var(--text-muted);
  background-color: var(--bg-dark);
  font-size: 14px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--text-main);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 16px;
  color: var(--text-muted);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--text-muted);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid var(--border);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}
