@import "colors.css";

/* Hero Section Fullscreen */
.hero-section {
    position: relative;
    min-height: 100vh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.hero-text-content {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility; /* Sharpen the text */
    -webkit-font-smoothing: antialiased;
}

.hero-header {
    font-size: 2.1rem; /* Reduce header size slightly */
    font-weight: 700; /* Make it slightly lighter */
    margin-bottom: 10px; /* Reduce margin */
    color: #ffffff;
}

.hero-text {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px; /* Slightly reduce spacing */
}

.hero-image-container {
    flex: 1;
    max-width: 45%; /* Slightly reduce the size of the image */
    display: flex;
    justify-content: center;
}

.responsive-hero-svg {
    width: 100%;
    height: auto;
    max-width: 420px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease; /* Add slight hover animation */
}

.responsive-hero-svg:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
}

.hero-cta {
    text-align: center; /* Center the button */
    margin-top: 20px;
}

.hero-cta a {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-system, sans-serif;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    text-wrap: nowrap;
    width: fit-content;
    color: var(--app-manage-btn-color);
    background-color: var(--accounda-green);
    cursor: pointer;
    padding: 10px 36px;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.hero-cta a:hover {
    background-color: var(--app-manage-btn-hover-bg);
}

.benefits-section {
    padding: 20px;
    background-color: #16161a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefits-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.benefits-header {
    margin-bottom: auto;
}

.benefits-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.benefits-header p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.8;
}

.benefits-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    background-color: #111317;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.benefit-item h3 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.arrow-icon {
    color: #58f397;
    margin-left: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

.benefit-details {
    background-color: #111317;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: center;
}

.benefit-details.hide-details {
    display: none;
}

.benefit-details p {
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    opacity: 0.8;
    height: 62.4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-image {
    display: flex;
    position: relative;
    gap: 20px;
    perspective: 1000px;
    justify-content: center;
    align-items: center;
    height: 371px;
}

.benefit-image img {
    transition: 0.3s ease;
    border-radius: 12px;
}

.benefit-image img:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .benefits-header h2 {
        font-size: 1.8rem;
    }

    .benefits-header p {
        font-size: 1rem;
    }

    .benefit-item h3 {
        font-size: 1.3rem;
    }

    .arrow-icon {
        font-size: 1.3rem;
    }

    .benefit-details p {
        margin-top: 24px;
        font-size: 0.9rem;
        min-width: 320px;
    }
}

@media (max-width: 768px) {
    .benefits-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .benefits-header h2 {
        font-size: 1.6rem;
    }

    .benefits-header p {
        font-size: 0.95rem;
    }

    .benefit-item {
        padding: 15px;
        display: none;
    }

    .benefit-item h3 {
        font-size: 1.2rem;
    }

    .arrow-icon {
        font-size: 1.2rem;
    }

    .benefit-details {
        padding: 20px;
    }

    .benefit-details.hide-details {
        display: flex;
    }

    .benefit-details p {
        font-size: 0.85rem;
    }

    .benefit-items {
        display: none;
    }
}

@media (max-width: 480px) {
    .benefits-header h2 {
        font-size: 1.4rem;
    }

    .benefits-header p {
        font-size: 0.9rem;
    }

    .benefit-item h3 {
        font-size: 1.1rem;
    }

    .arrow-icon {
        font-size: 1.1rem;
    }

    .benefit-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-header {
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .responsive-hero-svg {
        max-width: 300px;
    }
}


@media (max-width: 420px) {
    .benefits-section {
        background-color: #111317;
    }

    .benefit-details {
        background-color: transparent;
        border: none;
        box-shadow: unset;
        padding: 0;
        margin-top: 32px;
    }

    .benefit-details p {
        margin-top: 16px;
    }

    .benefit-image {
        height: fit-content;
    }

    .benefit-details:first-child {
        margin-top: 0;
    }
}

/* User Benefits Section CSS */
.user-benefits-section {
    padding: 20px;
    background-color: #16161a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-benefits-container {
    max-width: 1200px;
    width: 100%;
}

.user-benefits-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    width: 100%;
}

.user-benefits-header {
    display: flex;
    flex-direction: column;
    margin: auto;
    text-align: center;
}

.user-benefits-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    max-width: 700px;
    width: 100%;
}

.user-benefits-header p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    max-width: 700px;
    width: 100%;
    opacity: 0.8;
}

.user-benefits-items {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
    flex-wrap: wrap;
}

.user-benefit-item {
    background-color: #111317;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(30% - 20px);
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.user-benefit-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Ensures the overlay is on top of the background */
    background-image: url("https://accounda.blob.core.windows.net/static/download_bg.svg"); /* Same image for all */
    background-size: 120%; /* Adjust the size of the background image to appear larger */
    background-repeat: no-repeat;
    opacity: 0.03;
}


.user-benefit-item h3,
.user-benefit-item p {
    position: relative;
    z-index: 2; /* Ensures the text stays above the overlay */
}

.user-benefit-item p {
    opacity: 0.8;
}

/* Different background positions for each div */
.user-benefit-item:nth-child(1)::before {
    background-position: left top; /* Top-left portion of the image */
}

.user-benefit-item:nth-child(2)::before {
    background-position: center top; /* Center-top portion of the image */
}

.user-benefit-item:nth-child(3)::before {
    background-position: right top; /* Top-right portion of the image */
}

.user-benefit-item:nth-child(4)::before {
    background-position: left bottom; /* Bottom-left portion of the image */
}

.user-benefit-item:nth-child(5)::before {
    background-position: right bottom; /* Bottom-right portion of the image */
}

.user-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.user-benefit-item h3 {
    color: #58f397;
    font-size: 1.5rem;
    width: 100%;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.arrow-icon {
    color: #58f397;
    margin-left: 8px;
    font-size: 1.5rem;
    font-weight: bold;
}

.user-benefit-details.hide-details {
    display: none;
}

.user-benefit-details p {
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    opacity: 0.8;
    height: 62.4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-benefit-image {
    display: flex;
    position: relative;
    gap: 20px;
    perspective: 1000px;
    justify-content: center;
    align-items: center;
    height: 371px;
}

.user-benefit-image img {
    transition: 0.3s ease;
    border-radius: 12px;
}

.user-benefit-image img:hover {
    transform: scale(1.03);
}

@media (max-width: 1099px) {
    .user-benefit-item {
        max-width: 340px;
    }
}

@media (max-width: 1024px) {
    .user-benefits-header h2 {
        font-size: 1.8rem;
    }

    .user-benefits-header p {
        font-size: 1rem;
    }

    .user-benefit-item h3 {
        font-size: 1.3rem;
    }

    .arrow-icon {
        font-size: 1.3rem;
    }

    .user-benefit-details p {
        margin-top: 24px;
        font-size: 0.9rem;
        min-width: 320px;
    }
}

@media (max-width: 823px) {
    .user-benefit-item {
        width: 100%;
        max-width: unset;
    }
}

@media (max-width: 768px) {
    .user-benefits-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .user-benefits-header h2 {
        font-size: 1.6rem;
    }

    .user-benefits-header p {
        font-size: 0.95rem;
    }

    .user-benefit-item {
        padding: 15px;
    }

    .user-benefit-item h3 {
        font-size: 1.2rem;
    }

    .arrow-icon {
        font-size: 1.2rem;
    }

    .user-benefit-details {
        padding: 20px;
    }

    .user-benefit-details.hide-details {
        display: flex;
    }

    .user-benefit-details p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .user-benefits-header h2 {
        font-size: 1.4rem;
    }

    .user-benefits-header p {
        font-size: 0.9rem;
    }

    .user-benefit-item h3 {
        font-size: 1.1rem;
    }

    .arrow-icon {
        font-size: 1.1rem;
    }

    .user-benefit-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 420px) {
    .user-benefit-details {
        background-color: transparent;
        border: none;
        box-shadow: unset;
        padding: 0;
        margin-top: 32px;
    }

    .user-benefit-details p {
        margin-top: 16px;
    }

    .user-benefit-image {
        height: fit-content;
    }

    .user-benefit-details:first-child {
        margin-top: 0;
    }
}

.why-accounda-section {
    padding: 40px 0;
    background-color: #111317;
}

.why-accounda-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-accounda-container h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.why-accounda-container p {
    text-align: left;
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    max-width: 661px;
    margin: 0 auto 30px;
    padding: 0 20px;
    opacity: 0.8;
}

.why-accounda-container a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-system, sans-serif;
    border-radius: 32px;
    font-weight: 600;
    text-decoration: none;
    text-wrap: nowrap;
    width: fit-content;
    color: var(--app-manage-btn-color);
    background-color: var(--accounda-green);
    cursor: pointer;
    padding: 10px 36px;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.why-accounda-container a:hover {
    background-color: #47db7f;
    transform: translateY(-3px);
}

.faq-section {
    padding: 0 20px;
    color: #ffffff;
    text-align: left;
    margin-top: 96px;

    h2 {
        text-align: center;
        font-size: 1.8rem;
    }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #111317;
}

.faq-question {
    background-color: #111317;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 15px;
    text-align: left;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #222222;
}

.faq-answer {
    display: none;
    padding: 0 15px 15px;
    background-color: #111317;
    border-bottom: 1px solid #58f397;
    font-size: 1rem;
    line-height: 1.6;
}

.faq-icon {
    font-size: 1.5rem;
    margin-left: 10px;
}

.future-plans-section {
    padding: 40px 0;
    background-color: #111317;
}

.future-plans-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.future-plans-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.future-plans-image img {
    min-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.future-plans-image img:hover {
    transform: scale(1.03);
}

.future-plans-text {
    max-width: 600px;
    padding-right: 32px;
}

.future-plans-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

.future-plans-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #fff;
}

/* Initial hidden state for the sections */
section {
    opacity: 1;
    margin-top: 7vh;
    margin-bottom: 7vh;
    padding: 40px 20px !important;
}

/* Visible state - section slides in and becomes visible */
section.visible {
    opacity: 1;
    transform: translateY(0); /* Moves into position */
}

/* When the section should move up and fade out */
section.vanish {
    opacity: 0;
    transform: translateY(-50px); /* Slides up and fades out */
    transition: opacity 0.8s ease, transform 0.8s ease;
}


@media (max-width: 994px) {
    .future-plans-section {
        display: none;
    }
}

.contact-section {
    padding: 60px 0;
    text-align: center;
    color: var(--font-color);
    line-height: 1.6;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.contact-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--font-color);
    margin-top: 0;
}

.contact-section form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 32px;
    border-radius: 8px;
    color: var(--font-color);
    box-shadow: 0 0 0 1px rgba(56,60,67,.05),0 1px 3px 0 rgba(56,60,67,.15);
    background: var(--app-container-bg);
}

.contact-section .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-section label {
    opacity: 0.8;
    font-size: 16px;
    font-weight: 550;
    margin-bottom: 6px;
    color: var(--font-color);
}

.contact-section input,
.contact-section textarea {
    width: calc(100% - 22px);
    font-size: 16px;
    margin-top: 4px;
    -webkit-appearance: none;
    outline: none;
    padding: 10px;
    flex: 1 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-system, sans-serif;
    border-radius: 8px;
    border: 1px solid var(--input-field-border-color);
    color: var(--input-field-color);
    background-color: transparent;
}

.contact-section input:focus, .contact-section textarea:focus {
    -webkit-appearance:none;
    outline: 1px solid var(--input-field-focus-border-color);
    border: 1px solid var(--input-field-focus-border-color) !important;
}

.contact-section button {
    border-radius: 25px;
    padding: 8px 16px;
    font-weight: 600;
    text-decoration: none;
    text-wrap: nowrap;
    display: block;
    width: fit-content;
    color: var(--app-manage-btn-color);
    background-color: var(--accounda-green);
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", ui-system, sans-serif;
    font-size: 16px;
    margin: auto;

    &:hover {
        background-color: var(--app-manage-btn-hover-bg);
    }
}

.contact-section button:hover {
    cursor: pointer;
}

.contact-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#email-contact {
    margin-left: 48px;
    flex: 1;
}

#message {
    resize: none;
}

#response-text-success, #response-text-error {
    display: none;
    flex-direction: column;
    padding-bottom: 24px;
}

.btn.disabled:hover {
    cursor: default !important;
    opacity: 0.8;

}

.name-form-group {
    width: 200px;
}

@media (max-width: 640px) {
    .contact-row {
        flex-direction: column;
    }

    #email-contact {
        margin-left: 0;
        max-width: 352px;
    }

    .name-form-group {
        width: calc(100%);
        max-width: 352px;
    }
}
