/* Web/Web/styles/index.css */

/* --- Hero --- */
.hero {
    display: flex;
    align-items: center;
    /*padding: 100px 20px 80px;  <-Removed padding from here */

    margin: 0 auto;
    position: relative; /*  Important for absolute positioning of the background */
}

.hero-content {
    flex: 1;
    padding: 100px 40px 80px 20px; /* Added padding back here, with right padding */
    z-index: 2; /* Ensure content is above the gradient */
}

.hero h1 {
    font-size: 3.6em; /* Slightly larger */
    margin-bottom: 0.4em; /* Tighter spacing */
    line-height: 1.15; /* Tighter line height */
    font-weight: 700;
    letter-spacing: 0em; /* Apple uses very tight letter spacing */
}

.hero .tagline {
    font-size: 1.5em; /* Slightly larger */
    color: #6e6e73;
    margin-bottom: 40px; /* More space */
    font-weight: 400;
    letter-spacing: -0.01em;
}

.hero-image {
    flex: 1;
    text-align: center;
    margin-top: 100px;
    padding: 100px 20px 80px 40px; /* Added padding here */
    z-index: 2; /* Ensure image is above the gradient */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

.hero-cta {
    display: inline-block; /*  Treat the link as a block for easier styling */
    margin-top: 20px; /* Add some space above the button */
}

/* --- Gradient Background --- */
.hero .gradient-background {
    opacity: 1; /* Initially visible */
    background: linear-gradient(180deg, rgba(212, 234, 246, 0.7), rgba(249, 249, 249, 0.7) 75%, rgba(255,255,255, 0.7)); /*  Slightly adjusted gradient with transparency */
    transition: opacity 1.83s ease-out;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Place behind other content */
}

/* --- Features Highlight --- */
.features-highlight {
    padding: 60px 20px;
    text-align: center;
    background-color: #fafafa;
}

.features-highlight h2 {
    font-size: 2.5em;
    margin-bottom: 50px; /* More space */
    font-weight: 600;
    letter-spacing: 0.005em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Slightly larger min width */
    gap: 40px;
    max-width: 1024px;
    margin: 0 auto;
}

.feature {
    padding: 25px; /* More padding */
    background-color: #fff;
    border-radius: 18px; /* More rounded */
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transition */
}

.feature:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    height: 160px; /* Smaller icons */
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature p {
    color: #6e6e73;
    line-height: 1.5; /* Slightly more line height */
}

/* --- Why Choose, Testimonials, CTA --- */
.why-choose,
.testimonials,
.cta-section,
.paywall-section {
    padding: 80px 20px; /* More padding */
    max-width: 1024px;
    margin: 0 auto;
    text-align: center;
}

.why-choose h2,
.testimonials h2,
.cta-section h2 {
    font-size: 2.8em; /* Consistent heading size */
    font-weight: 700;
    letter-spacing: 0.005em;
    margin-bottom: 30px;
}

.why-choose p {
    font-size: 1.2em;
    color: #555;
    line-height: 1.6;
    max-width: 700px; /* Limit width for readability */
    margin: 0 auto;
}

/* --- Testimonials --- */
.testimonials {
    background-color: #fafafa;
}

.testimonial {
    padding: 30px; /* More padding */
    margin: 0 auto;
    max-width: 650px;
    text-align: center;
    font-style: italic;
    color: #6e6e73;
    line-height: 1.5;
}
.testimonial p::before {
content: "“"; /* Larger, stylized quotation marks */
    font-size: 2em;
    font-style: normal;
    color: #aaa;
    margin-right: 0.2em;
    vertical-align: -0.4em;

}
 .testimonial p::after {
    content: "”"; /* Larger, stylized quotation marks */
    font-size: 2em;
    font-style: normal;
    color: #aaa;
    margin-left: 0.2em;
     vertical-align: -0.4em;
}

.testimonial .author {
    font-weight: 500;
    color: #333;
    font-style: normal; /* Remove italics from author */
    margin-top: 15px;
}

/* --- Paywall Section --- */
.paywall-section {
    background-color: transparent; /* Use a subtle gradient */
    border-top: none;
    border-bottom: none;
}

.paywall-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 850px; /* Slightly wider */
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: none;
}

.paywall-trial,
.paywall-full {
    flex: 1;
    padding: 40px;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    margin: 0 10px;
    background-color: #fff;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paywall-trial:hover,
.paywall-full:hover {
    transform: scale(1.03); /* Slight scale on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.paywall-icon-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* More space */
}

.paywall-trial h3,
.paywall-full h3 {
    font-size: 1.6em; /* Slightly larger */
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.paywall-trial p,
.paywall-full p {
    color: #555;
    line-height: 1.5;
}

.paywall-icon {
    width: 300px;
}

.paywall-price {
    font-size: 2em; /* Larger price */
    font-weight: 600;
    margin-top: 25px; /* More space */
    margin-bottom: 8px;
    color: #000;
}

.paywall-subtext {
    font-size: 0.7em;
    color: #888;
    display: block;
}

.paywall-button {
    margin-top: 35px; /* More space */
    width: 100%;
    padding: 14px 20px; /* More padding */
    font-size: 1.1em; /* Slightly larger */
}

/* --- CTA Section --- */
.cta-section {
    background-color: transparent;
}

.cta-section h2 {
    margin-bottom: 40px; /* More space */
}
.secondary-button {
    background-color: transparent;
    color: #007aff;
    border: 1px solid #007aff;
     margin-top: 15px;
}

.secondary-button:hover {
    background-color: rgba(0, 113, 227, 0.1); /* Light blue on hover */
    color: #0066cc;
     border-color: #0066cc
}
/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px; /* Less padding */
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px; /* More space */
           padding: 60px 20px; /* Less padding */
    }
    .hero h1 {
        font-size: 2.8em;
    }
    .hero .tagline {
        font-size: 1.4em;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
.hero-image{
  padding: 60px 20px;
}
    .paywall-container {
        flex-direction: column;
        align-items: stretch;
    }

    .paywall-trial,
    .paywall-full {
        width: 100%;
        margin: 10px 0;
    }
     #ac-localnav.ac-ln-sticking {
       background-color: #fff;
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
    }
     /* Make menu items stack vertically on smaller screens */
      .ac-ln-menu-items {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start */
    }
      .ac-ln-menu-item {
        margin-left: 0; /* Remove left margin */
        margin-bottom: 10px; /* Add bottom margin for spacing */
    }
    /* Adjust padding and alignment for actions */
    .ac-ln-content {
        flex-direction: column; /* Stack title and menu vertically */
        align-items: flex-start; /* Align items to the start */
    }
    .ac-ln-actions {
        margin-left: 0; /* Remove left margin */
        margin-top: 10px; /* Add top margin for spacing */
    }
}