/* index.css - Page-specific styles for the homepage */

.hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.features {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: var(--blur-backdrop);
    margin: 4rem 0;
    border-radius: 20px;
    border: var(--border-light);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s ease;
    /* Initial state for JS animation - ensure this is set if observer is used */
    opacity: 0;
    transform: translateY(30px);
}

.feature:hover {
    transform: translateY(-10px); /* Keep hover effect distinct from initial animation */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary); /* Ensure color is set */
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact { /* This is the "Ready to Secure" section on index.html */
    padding: 6rem 0;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary); /* Ensure color is set */
}
/* About Section Styling */
.about {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01); /* Subtle background differentiation */
    animation: fadeInUp 1s ease-out 0.8s both; /* Adjust delay as needed */
    text-align: center; /* Center heading */
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem; /* More space after heading */
    font-weight: 700;
    color: var(--text-primary);
}

.about-content {
    display: flex;
    flex-direction: column; /* Stack text and optional image by default */
    align-items: center; /* Center content */
    gap: 2rem;
    text-align: left; /* Align text to the left for readability */
    max-width: 800px; /* Control width of text block */
    margin: 0 auto; /* Center the content block */
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7; /* Slightly more line height for readability */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Optional: Styles for a two-column layout if an image is added */
/*
@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        text-align: left;
    }
    .about-text {
        flex: 2; 
    }
    .about-image {
        flex: 1;
        max-width: 300px; 
    }
    .about-image img {
        width: 100%;
        border-radius: 10px;
    }
}
*/

.contact p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-info { /* Used for the button in the "Ready to Secure" section */
    display: flex;
    justify-content: center;
    gap: 3rem; /* Though only one button, this maintains structure if more items were added */
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* Specific responsive adjustments for index.html if any */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* .contact-info for index.html might not need column direction if it's just one button */
}
