body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo left, links right */
    background-color: #f8f9fa; /* Soft modern background */
    padding: 0.5em 1em;
    border-bottom: 2px solid #e0e0e0; /* Clean separator line */
}

nav .logo img {
    height: 35px; /* Adjust logo size */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1em;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: #333; /* Dark modern text */
    padding: 0.5em 0.75em;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4CAF50; /* Green accent on hover */
}
.info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.info-content {
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.info-image {
  margin-bottom: 1rem;
  text-align: center; /* Center the image */
}

.info-image img {
  max-width: 40%;
  height: auto;
  border-radius: 8px;
  display: inline-block; /* Ensures centering inside text-align center */
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}

.close-btn:hover {
  color: #000;
}

.hidden {
  display: none;
}

.hero-intro {
  background: #fff;
  padding: 50px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; /* ensures it stacks on small screens */
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}
.hero-logo {
  max-width: 300px; /* adjust as needed */
  margin-bottom: 15px;
}

.hero-image img {
  max-width: 60%;
  border-radius: 10px;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #A60000;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #333;
}

.landing-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5em;
    padding: 2em 1em;
    background-color: #fff;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

.intro-card {
    padding: 1.5em;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card i {
    font-size: 2em;
    color: #ff6b6b;
    margin-bottom: 0.5em;
}

.intro-card h3 {
    font-size: 1.2em;
    margin: 0.5em 0;
    color: #333;
}

.intro-card p {
    font-size: 1.2em;
    color: #555;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.support-me {
    display: flex;
    align-items: center;
}

.support-me a {
    color: white;
    text-decoration: none;
    margin-left: 1em;
    display: flex;
    align-items: center;
}

.support-me a i {
    margin-right: 0.5em;
}

main {
    text-align: center;
    flex: 1;
    overflow-x: hidden;
    max-width: 100vw; /* Ensure content doesn't exceed viewport width */
    box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    flex-direction: column; /* stack children vertically */
}
.sidebar {
    position: fixed;
    top: 0;
    left: -300px; /* Hidden by default */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1000;
    padding: 1em;
    box-shadow: 2px 0 5px rgba(0,0,0,0.5); /* optional shadow */
}

.sidebar.active {
    left: 0;
}

.sidebar h2 {
    color: white;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    padding: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar-link {
    color: white;
    text-decoration: none;
    flex: 1;
}

.sidebar-item:hover {
    background-color: #555;
}

.sidebar-item:hover .sidebar-link {
    color: #4CAF50;
}

.sidebar-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
    transition: transform 0.3s;
}

.sidebar-icon img {
    width: 100%;
    height: auto;
}

.sidebar-item:hover .sidebar-icon img {
    transform: scale(1.1);
}

.sidebar-shortcuts {
    background-color: #444;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.sidebar-shortcuts a {
    display: block;
    background-color: #555;
    color: white;
    padding: 8px;
    margin: 5px 0;
    border-radius: 3px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.sidebar-shortcuts a:hover {
    background-color: #4CAF50;
    transform: scale(1.05);
}
.section-title {
  font-size: 2.2rem;          
  font-weight: 700; 
  color: #444; 
  text-align: center;  
  text-transform: uppercase;
  letter-spacing: 2px;         
  margin-bottom: 30px;        
  position: relative;          
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Decorative underline */
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ff6b6b;
  margin: 8px auto 0;          /* Centered underline with margin top */
  border-radius: 2px;
}


.product-grid {
    flex: 1; /* Allow it to grow and fill available space */
    display: grid;
	justify-items: center;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    margin: 1em 4em;
    padding: 2em 1em;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
	border-radius: 4px;
}

/* Product */
.product {
    text-align: center;
    border-radius: 8px;
	width: 90%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    background: #fff;
}

.product:hover {
    transform: translateY(-5px);
}
.product a:hover {
    color: green;
}

.product img {
    width: 100%;
    height: auto;
    display: block;
}

.product a {
    text-decoration: none;
    color: #333;
}

.product p {
    font-size: 1em;
    color: #555;
    margin: 0 0 1em;
}

.product h3 {
    font-size: 1em;
}
.info-section {
  background-color: #f9f9f9;
  padding: 50px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.info-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.info-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 30px 20px;
  flex: 1 1 300px;
  max-width: 400px;
  text-align: center;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.info-icon {
  font-size: 3rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.info-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #333;
}

.info-card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.5;
}

.info-link {
  font-weight: 600;
  color: #ff6b6b;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.info-link:hover {
  border-color: #ff6b6b;
}
.ea-success {
  background-color: #f7f9fc;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ea-success-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.ea-success-cards {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.success-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  padding: 30px 20px;
  max-width: 330px;
  flex: 1 1 280px;
  transition: transform 0.3s ease;
}

.success-card:hover {
  transform: translateY(-10px);
}

.success-icon {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.success-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.success-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.ea-advantage {
  padding: 60px 20px;
  margin-top: 100px;
}

.ea-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.ea-text {
  flex: 1 1 500px;
}

.ea-text h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.ea-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.ea-points li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
}

.ea-points i {
  color: #28a745; /* green check color */
  margin-right: 10px;
  font-size: 1.2rem;
}

.ea-note {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.ea-image {
  flex: 1 1 400px;
  text-align: center;
}

.ea-image img {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.backtest-env {
  background: #ffffff;
  padding: 60px 20px;
  
}

.backtest-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.backtest-text {
  flex: 1 1 500px;
}

.backtest-text h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.backtest-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.backtest-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.backtest-points li {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
}

.backtest-points i {
  color: #28a745;
  margin-right: 10px;
  font-size: 1.2rem;
}

.backtest-note {
  font-size: 1rem;
  color: #666;
}

.backtest-image {
  flex: 1 1 400px;
  text-align: center;
}

.backtest-image img {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.ea-callout {
  background: #f0f8ff; /* Slightly different light blue background */
  padding: 40px 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 140, 255, 0.1);
  margin: 40px auto 60px; /* a bit less margin top to keep spacing */
  max-width: 700px;
}

.ea-inner {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ea-icon {
  font-size: 4.5rem;
  color: #0077cc;
  margin-bottom: 15px;
}

.ea-inner h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.ea-inner p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ea-btn {
  background: #005ea3;
  box-shadow: 0 5px 15px rgba(0, 94, 163, 0.3);
  transition: background 0.3s ease, color 0.3s ease;
}

.ea-btn:hover {
  background: #cce7ff;
  color: #003d66;
}

.ebook-callout {
  background: #fefefe;
  padding: 40px 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  margin: 60px auto;
  max-width: 700px;
}

.ebook-inner {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ebook-icon {
  font-size: 4.5rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.ebook-inner h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.ebook-inner p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  background: #0088cc;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.telegram-btn i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.telegram-btn:hover {
  background: #f2f2f2;
  color: #005c8a;
}

hr {
    border: none; /* Removes default border */
    height: 1px; /* Adjust thickness */
    background-color: #CCC; /* Dark gray color */
    width: 95%; /* Controls width */
}

.footer {
    background-color: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #e0e0e0;
}

.footer p {
    font-size: 14px;
    color: #666;
    margin: 20PX;
}

footer a {
    text-decoration: none;
    color: #666; /* Neutral link color */
    margin: 0 10px; /* Horizontal spacing between links */
}

footer a:hover {
    color: #4CAF50; /* Light green hover color */
}

.fab {
    margin-right: 5px; /* Space between icon and text */
}

.disclaimer {
    margin-top: 15px; /* Space above the disclaimer */
    padding: 15px; /* Inner padding for the disclaimer */
    background-color: #f9f9f9; /* Light gray background */
    border: 1px solid #e0e0e0; /* Subtle border */
    border-radius: 5px; /* Rounded corners */
    font-size: 14px;
    color: #666; /* Neutral disclaimer text color */
    text-align: center; /* Align text to the left */
    line-height: 1.6; /* Improved line spacing */
}

.contact-icons {
    display: flex;
    justify-content: center;
    margin-top: 1em;
}

.contact-icons a {
    margin: 0 10px;
    color: black;
    font-size: 24px;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Adjust sidebar width for mobile */
@media (max-width: 980px) {
	.sidebar ul li .sidebar-link {
		font-size: 12px;
	}
	    .sidebar-shortcuts {
        width: 90%;
        max-width: 300px;
        padding: 15px;
        margin: 10px auto;
    }
	.sidebar-shortcuts a {
    font-size: 10px;
}
.ea-image img {
  max-width: 50%;
}
.backtest-container {
    flex-direction: column-reverse;
    align-items: center;
  }
.backtest-image {
  flex: 1 1 100%;
  text-align: center;
}
.backtest-image img {
  max-width: 50%;
}
.backtest-text {
  flex: 1 1;
}
}

		
/* Adjust sidebar width for mobile */
@media (max-width: 767px) {
nav .logo img {
    height: 30px;
}
nav ul {
    gap: 0;
}
nav ul li {
	margin: 0.5em 0;
}
.info-content {
	max-width: 60%;
}
.info-image img {
  max-width: 50%;
}
.hero-text {
  flex: 1 1 400px;
  text-align: center;
}
.content-wrapper {
	flex-direction: column;
}
.backtest-container {
    flex-direction: column-reverse;
    align-items: center;
  }
.backtest-image {
  flex: 1 1 100%;
  text-align: center;
}

.backtest-text {
  flex: 1 1;
}
.footer p {
font-size: 8px;
}
.product-grid {
    gap: 1.5em;
    margin: 1em 2em;
    padding: 2em 1em;
}
}

@media (max-width: 480px) {
nav .logo img {
    height: 20px;
}
nav ul {
    gap: 0;
}
nav ul li {
	margin: 0.5em 0;
}
.info-content {
	max-width: 60%;
}
.info-content p {
	font-size: 0.8rem;
}
.info-image img {
  max-width: 60%;
}
.about-text h2 {
  font-size: 1.8rem;
}
.about-text p {
  font-size: 0.9rem;
}
.about-highlights li {
  font-size: 0.8rem;
}
.hero-text h1 {
font-size: 2rem;
margin: 0px;
}
.hero-text {
  flex: 1 1 400px;
  text-align: center;
}

.hero-text p {
font-size: 0.8rem;
}
.hero-image img {
  max-width: 40%;
}
.hero-logo {
  max-width: 160px;
}
.section-title {
font-size: 1.5rem;          
}
.ea-success-title {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 40px;
}
.product-grid {
    gap: 1.5em;
    margin: 1em 1em;
    padding: 1em 1em;
}
.ea-advantage {
  padding: 60px 20px;
  margin-top: 50px;
}
.ea-text h2 {
  font-size: 1.4rem;
}
.ea-image img {
  max-width: 60%;
}

.ea-points li {
  font-size: 0.8rem;
}

.ea-points i {
  font-size: 0.8rem;
}

.ea-note {
  font-size: 0.8rem;
}
.backtest-env {
  background: #ffffff;
  padding: 20px 20px;
}

.backtest-container {
    flex-direction: column-reverse;
  }
.backtest-image {
  flex: 1 1 100%;
  text-align: center;
}
.backtest-image img {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.backtest-text {
  flex: 1 1;
}

.backtest-text h2 {
  font-size: 1.4rem;
}

.backtest-text p {
  font-size: 0.8rem;
}

.backtest-points li {
  font-size: 0.8rem;
}

.backtest-points i {
  font-size: 0.8rem;
}

.backtest-note {
  font-size: 0.8rem;
}
.ebook-inner h2 {
  font-size: 1.5rem;
}
.ea-inner h2 {
  font-size: 1.4rem;

}
    footer, .footer {
        font-size: 12px;
        padding: 10px;
    }
	.footer p {
    font-size: 9px;
}
}