/* --- Modern Dark Theme Redesign --- */
:root {
  --color-bg: #111217;
  --color-bg-gradient: linear-gradient(135deg, #181a20 0%, #111217 100%);
  --color-card: #181a20;
  --color-card-shadow: 0 4px 32px rgba(0,0,0,0.4);
  --color-primary: #ff9100;
  --color-primary-hover: #ffb347;
  --color-accent: #ff9100;
  --color-text: #f5f5f7;
  --color-muted: #b0b0b0;
  --color-border: #23242a;
  --radius: 18px;
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --font-main: 'Inter', 'Poppins', 'Montserrat', Arial, sans-serif;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg-gradient);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-family: var(--font-main);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-top: 0;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
}

p, li, span, label {
  color: var(--color-text);
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-primary-hover);
}

.card, .feature-item, .price-option, .discount-container {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--color-card-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature-item:hover, .price-option:hover, .discount-container:hover {
  box-shadow: 0 8px 40px rgba(255,145,0,0.15);
  transform: translateY(-4px) scale(1.02);
}

button, .btn, .cta-btn, .discount-code, .card-link {
  background: var(--color-primary);
  color: #181a20;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.9em 2em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(255,145,0,0.10);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
  margin-top: 1em;
  display: inline-block;
}
button:hover, .btn:hover, .cta-btn:hover, .discount-code:hover, .card-link:hover {
  background: var(--color-primary-hover);
  color: #181a20;
  box-shadow: 0 4px 24px rgba(255,145,0,0.18);
  transform: translateY(-2px) scale(1.03);
}

section, .section {
  margin: 0 auto 3rem auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  background: transparent;
  max-width: 1200px;
}

input, select, textarea {
  background: #23242a;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.8em 1.2em;
  font-size: 1rem;
  margin-bottom: 1em;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,145,0,0.15);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

::-webkit-scrollbar {
  width: 10px;
  background: #181a20;
}
::-webkit-scrollbar-thumb {
  background: #23242a;
  border-radius: 10px;
}

/* End Modern Theme Base */

header {
  background-color: #007bff;
  color: white;
  padding: 20px;
  text-align: center;
}

#introduction {
  text-align: center;
  padding: 40px 20px;
  border-bottom: 2px solid #007bff;
}

#introduction img {
  width: 150px;
  border-radius: 50%;
  border: 4px solid #007bff;
  margin-bottom: 20px;
}

#introduction p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #b0b0b0;
  max-width: 800px;
  margin: 0 auto;
}

#introduction strong {
  color: #007bff;
  font-weight: bold;
}

#discount {
  padding: 40px 20px; /* Padding for spacing */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.discount-container {
  max-width: 800px; /* Limits the width for better readability */
  margin: 0 auto; /* Centers the container */
  padding: 40px 20px; /* Inner padding */
  background: linear-gradient(
    135deg,
    #28a745,
    #218838
  ); /* Gradient background */
  color: white;
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

#discount h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

#discount p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

#discount p strong {
  color: #ffdd57; /* Highlight key text */
}

.discount-code {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
  color: #333;
  padding: 12px 25px;
  border-radius: 50px; /* Pill-shaped */
  font-size: 18px;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discount-code:hover {
  transform: translateY(-5px); /* Lift effect on hover */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); /* Enhanced shadow on hover */
}

.discount-code span {
  font-weight: 600;
  margin-right: 10px;
  color: #333;
}

.discount-code strong {
  font-size: 24px;
  color: #007bff;
  font-weight: 700;
}

#grasp {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin: 50px auto;
  max-width: 800px;
}

#grasp h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

#grasp p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 10px;
}

#grasp strong {
  color: #00d4ff;
}

.text-muted {
  color: #b0b0b0 !important;
}

#carousel2 {
  padding: 20px;
}

.carousel2 {
  width: 80%;
  margin: 0 auto;
}

.carousel2 img {
  width: 100%;
  height: auto;
}

#carouselExampleControls {
  padding: 40px 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  border-radius: 15px;
  padding-bottom: 60px;
}

.card {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1) !important;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out !important;
  max-width: 350px !important;
}

.card:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2) !important;
}

.card-body {
  text-align: center !important;
  padding: 20px !important;
}

.card-title {
  font-size: 1.5rem !important;
  font-weight: bold !important;
}

.card-text {
  color: #d0d0d0 !important;
  font-size: 1rem !important;
}

.card-link {
  background: #00d4ff !important;
  color: #111 !important;
  border: none !important;
  padding: 10px 20px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1 !important;
}

/* Section Styling */
#ninjatrader-included {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  ) !important;
  border-radius: 20px !important;
  padding: 60px 20px !important;
  max-width: 900px !important;
  margin: 50px auto !important;
  text-align: center !important;
  backdrop-filter: blur(10px) !important;
}

/* Content Styling */
.content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.content p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 30px;
}

/* Feature Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.feature-item i {
  font-size: 2rem;
  color: #00d4ff;
  margin-bottom: 10px;
}

.feature-item h4 {
  font-size: 1.3rem;
  color: #fff;
}

.feature-item p {
  font-size: 1rem;
  color: #d0d0d0;
}

/* CTA Button */
/* Section Styling */
#exclusive-strategies {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 20px;
  padding: 50px 20px;
  max-width: 850px;
  margin: 40px auto;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

/* Content Styling */
.content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.content p {
  font-size: 1.2rem;
  color: #b0b0b0;
  margin-bottom: 20px;
}

/* CTA Button */
.cta-btn {
  background: #ff9800;
  border: none;
  padding: 14px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  color: #111;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-btn:hover {
  background: #e68900;
  transform: scale(1.05);
}

#pricing {
  text-align: center;
  padding: 80px 20px;
}

#pricing h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
}

.pricing-subtitle {
  font-size: 1.4rem;
  font-weight: bold;
  color: #ff9800;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* Pricing Cards */
.price-options {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.price-option {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  width: 300px;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.price-option h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: #888;
}

.discounted-price {
  font-size: 2rem;
  font-weight: bold;
  color: #00d4ff;
}

button {
  background: #00d4ff;
  color: #111;
  border: none !important;
  padding: 12px 20px !important;
  font-size: 1.2rem !important;
  font-weight: bold !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
}

button:hover {
  background: #00bcd4;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .price-options {
    flex-direction: column;
    align-items: center;
  }

  .price-option {
    width: 90%;
    max-width: 350px;
  }
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #0056b3;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px;
  position: bottom;
  bottom: 0;
  width: 100%;
  height: min-content;
}

*,
::after,
::before {
  box-sizing: border-box;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}

.h5,
h5 {
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  text-decoration: underline;
}

a:hover {
  --bs-link-color-rgb: var(--bs-link-hover-color-rgb);
}

img,
svg {
  vertical-align: middle;
}

button {
  border-radius: 0;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
select {
  text-transform: none;
}

[role="button"] {
  cursor: pointer;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
}

[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

.btn {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: var(--bs-body-color);
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: var(--bs-border-radius);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem
    rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
  color: var(--bs-btn-active-color);
  background-color: var(--bs-btn-active-bg);
  border-color: var(--bs-btn-active-border-color);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.card {
  --bs-card-spacer-y: 1rem;
  --bs-card-spacer-x: 1rem;
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-border-width: var(--bs-border-width);
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: var(--bs-border-radius);
  --bs-card-inner-border-radius: calc(
    var(--bs-border-radius) - (var(--bs-border-width))
  );
  --bs-card-cap-padding-y: 0.5rem;
  --bs-card-cap-padding-x: 1rem;
  --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03);
  --bs-card-bg: var(--bs-body-bg);
  --bs-card-img-overlay-padding: 1rem;
  --bs-card-group-margin: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--bs-card-height);
  color: var(--bs-body-color);
  word-wrap: break-word;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: var(--bs-card-color);
}

.card-title {
  margin-bottom: var(--bs-card-title-spacer-y);
  color: var(--bs-card-title-color);
}

.carousel {
  position: relative;
}

.carousel-inner {
  position: relative;
  width: 100%;
}

.carousel-inner::after {
  display: block;
  clear: both;
  content: "";
  scroll-behavior: auto;
}

.carousel-item {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-right: -100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .carousel-item {
    transition: none;
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 250px; /* Adjust to make it wider */
  max-width: 300px; /* Ensures uniform width */
  text-align: center;
}

.card-body {
  padding: 15px;
}

.card-text {
  font-size: 16px; /* Slightly larger text for readability */
  line-height: 1.4;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the whole image is visible */
  max-height: 180px; /* Keeps images at a standard size */
}

.carousel-item {
  display: none; /* Hide all items */
}

.carousel-item.active {
  display: flex !important; /* Only show active slide */
  justify-content: center;
  align-items: center;
}

.carousel-control-next,
.carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: 0 0;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

@media (prefers-reduced-motion: reduce) {
  .carousel-control-next,
  .carousel-control-prev {
    transition: none;
  }
}

@media (prefers-color-scheme: dark) {
  #ninjatrader-included {
    background-color: #222 !important; /* Force dark background */
  }

  #ninjatrader-included .box-title {
    color: #fff !important; /* Ensure text is visible */
  }
}

@supports (-webkit-touch-callout: none) {
  .carousel img {
    will-change: auto;
    transform: none !important;
  }
}

/* Fallback for browsers that don't support blur */
@supports not (backdrop-filter: blur(20px)) {
  .card {
    background: rgba(34, 34, 34, 0.9) !important; /* Darker fallback */
  }
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.carousel-control-prev {
  left: 0;
}

.carousel-control-next {
  right: 0;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.img-wrapper {
  width: 100%;
  height: 180px; /* Adjust height as needed */
  max-width: 100%;
  max-height: 150px; /* Reduce size */
  object-fit: contain;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 576px) {
  .carousel-inner {
    display: flex;
  }
}

@media screen and (min-width: 576px) {
  .carousel-item {
    display: block;
    margin-right: 0;
    flex: 0 0 calc(100% / 6);
    margin: 0 0.5em;
  }
}

.carousel-inner {
  padding: 1em;
  display: flex;
  scroll-behavior: smooth;
}

.card {
  margin: 0 0.5em;
  border-radius: 0;
  box-shadow: 2px 6px 8px 0px rgba(22, 22, 26, 0.18);
}

.carousel-control-prev,
.carousel-control-next {
  width: 6vh;
  height: 6vh;
  background-color: #e6dada;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.8;
}
