/* General Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Container Styles */
.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Calculator Section Styles */
section#calculator {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section#calculator .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.left {
    flex: 1;
}

.right {
    flex: 1;
    text-align: center;
}

canvas#profitChart {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

#info p {
    font-size: 1em;
    color: #333;
}

#info p span {
    font-weight: bold;
}

/* Input Group Styles */
.input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

input[type="text"], input[type="number"], select {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1em;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

/* FAQ Section Styles */
section#options-101 {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section#options-101 .container {
    max-width: 80%;
    margin: 0 auto;
}

section#options-101 h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.faq {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #555;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
    padding: 0 15px;
    border-radius: 0 0 5px 5px;
}

.faq-answer p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* How-to Use Section Styles */
section#how-to-use {
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

section#how-to-use .container {
    max-width: 80%;
    margin: 0 auto;
}

section#how-to-use h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

section#how-to-use p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* About Section Styles */
section#about {
    background-color: #f0f0f0;
    padding: 60px 20px;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

section#about .container {
    max-width: 800px;
    margin: 0 auto;
}

section#about h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

section#about p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    section#calculator .container {
        flex-direction: column;
    }

    .input-group {
        flex-direction: column;
    }

    canvas#profitChart {
        max-width: 100%;
        height: auto;
    }

    section#options-101 .container, section#how-to-use .container, section#about .container {
        max-width: 100%;
    }
}
