/* --- landing-page.css --- */

/* --- General Landing Page Styles --- */
body.landing-page-body {
    padding-top: 0 !important; /* Override any other padding */
}

body {
    background-color: var(--white);
    padding-top: 0; /* Remove padding for landing page */
}

.container {
    max-width: 1200px;
    padding: 0 20px;
}

/* Override the margin-top for the container in the landing header */
.landing-header .container {
    margin-top: 0; /* Remove top margin from the header container */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-color);
}

/* --- Landing Page Header --- */
.landing-header {
    position: relative; /* Changed from absolute */
    background-color: var(--white); /* Give it a solid background */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Add a subtle shadow for separation */
    padding: 1rem 0; /* Use rem for scalable padding */
    width: 100%;
    z-index: 1000;
}

.landing-header .container {
    margin: 0 auto;
    padding: 0 30px; /* Reduced padding to match other pages' spacing */
    max-width: 100%; /* Allow container to use full width */
    display: flex;
    justify-content: space-between; /* Ensure logo and nav are pushed to opposite edges */
}

.landing-header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: 0; /* Ensure logo is flush with the container edge */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-right: 0; /* Ensure nav items are flush with the right edge of the container */
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.main-nav a:not(.button):hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(180deg, #cce1f0 0%, #fff 100%); /* Soft blue fading into white */
    padding: 40px 0; /* Reduced padding to bring it closer to the header */
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 800px;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--dark-gray);
    max-width: 650px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.hero-cta {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- Features Section --- */
.features-section {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: left;
    border: 1px solid var(--medium-gray);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* --- How it Works Section --- */
.how-it-works-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #cce1f0 0%, #fff 100%); /* Soft blue fading into white */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step p {
    color: var(--dark-gray);
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-top: 50px; /* Align with text */
}

/* --- Security Section --- */
.security-section {
    padding: 80px 0;
}

.security-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.security-point {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

/* --- Final CTA Section --- */
.final-cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.final-cta-section .cta-button {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
}
.final-cta-section .cta-button:hover {
    background-color: var(--medium-gray);
}

/* --- Footer --- */
.app-footer {
    background-color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

.app-footer p {
    color: var(--dark-gray);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-headline { font-size: 3rem; }
    .steps-container { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); margin: 0; }
    
    /* Adjust header padding for medium screens */
    .landing-header .container {
        padding: 0 20px; /* Reduce padding on smaller screens */
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; } /* Simple hide for mobile, can be replaced with a burger menu */
    .hero-headline { font-size: 2.5rem; }
    .hero-subheadline { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .security-points { grid-template-columns: 1fr; }
}
