/* Base styles from your existing CSS, but adjusted for full width */
body {
    display: flex;
    justify-content: center; /* Keep to center the footer */
    align-items: center; /* Keep to center the footer */
    min-height: 100vh;
    padding: 0; /* Remove body padding to allow full width sections */
    background-color: var(--light-grey);
    font-family: 'Inter', sans-serif;
    color: var(--dark-grey);
    flex-direction: column; /* Stack sections and footer vertically */
    overflow-x: hidden; /* Prevent horizontal scroll from elements like shadows */
    margin: 0; /* Ensure no default body margin */
}

/* New wrapper for all content to handle full width sections */
.landing-page-wrapper {
    width: 100%; /* Take full browser width */
    flex-grow: 1; /* Allow it to take available height */
}

/* --- Global Section Styling --- */
.section {
    padding: 80px 20px; /* Generous vertical padding, fixed horizontal padding */
    text-align: center;
}

.section-content {
    max-width: 1200px; /* Max width for readability within sections */
    margin: 0 auto; /* Center the content within the full-width section */
}

.section h2 {
    font-size: 2.5em;
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-weight: 700;
}

.section p.subtitle {
    font-size: 1.2em;
    color: var(--medium-grey);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- Hero Section --- */
.hero-section {
    height: 100vh; /* Make hero section match viewport height */
    position: relative; /* For absolute positioning of canvas */
    padding: 0; /* Remove padding here as content div will have it */
    display: flex; /* Use flex to center content vertically */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    background: linear-gradient(to right, var(--light-blue), rgba(255, 255, 255, 0.8));
    border-bottom: 1px solid var(--border-color);
    overflow: hidden; /* Hide any overflow from canvas or content */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Background layer */
    background-color: transparent; /* Ensure gradient shows through */
}

.hero-content {
    position: relative;
    z-index: 2; /* Content layer on top of canvas */
    text-align: center; /* Center text and inline-block elements */
    padding: 20px; /* Padding for content within hero */
    max-width: 900px; /* Limit content width for readability */
    margin: 0 auto; /* Center content block */
}

.hero-content .app-logo {
    font-size: 60px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.8em;
    color: var(--dark-grey);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.4em;
    color: var(--medium-grey);
    line-height: 1.7;
    max-width: 800px; /* Adjusted for consistency with h1 */
    margin: 0 auto 40px auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.hero-buttons .btn-primary:hover {
    background-color: #0056b3;
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.hero-buttons .btn-secondary:hover {
    background-color: var(--light-blue);
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* --- Why Probaho Section --- */
.why-probaho {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.why-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.why-item {
    background-color: var(--light-grey);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-item i {
    font-size: 45px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.why-item h3 {
    font-size: 1.6em;
    color: var(--dark-grey);
    margin-bottom: 10px;
    font-weight: 600;
}

.why-item p {
    font-size: 1.05em;
    color: var(--medium-grey);
    line-height: 1.6;
}

/* --- Features Section --- */
.features-section {
    background-color: var(--light-grey);
    border-bottom: 1px solid var(--border-color);
}

.features-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-detail-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.feature-detail-item i {
    font-size: 40px;
    color: var(--primary-blue);
}

.feature-detail-item h3 {
    font-size: 1.5em;
    color: var(--dark-grey);
    font-weight: 600;
}

.feature-detail-item p {
    font-size: 1em;
    color: var(--medium-grey);
    line-height: 1.6;
    flex-grow: 1;
}


/* --- Final Call to Action Section --- */
.final-cta-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 20px;
}

.final-cta-section h2 {
    color: var(--white);
    margin-bottom: 25px;
}

.final-cta-section p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-section .hero-buttons .btn-secondary {
    background-color: var(--white);
    color: var(--primary-blue);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.final-cta-section .hero-buttons .btn-secondary:hover {
    background-color: var(--light-grey);
    /*transform: translateY(-3px);*/
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

section.final-cta-section:hover {
    background-color: var(--dark-grey);
}


/* --- Footer --- */
.footer {
    width: 100%;
    padding: 30px 20px;
    margin-top: auto;
    text-align: center;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    font-size: 0.9em;
    color: var(--medium-grey);
}

.footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .section h2 {
        font-size: 2em;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .section {
        padding: 60px 15px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-buttons .btn {
        width: 80%;
        margin: 0 auto;
    }
    .why-items-grid, .features-grid-detailed {
        grid-template-columns: 1fr;
    }
    .why-item, .feature-detail-item {
        padding: 25px;
    }
    .why-item i, .feature-detail-item i {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-buttons .btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .section h2 {
        font-size: 1.8em;
    }
    .section p.subtitle {
        font-size: 1em;
    }
}