/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Adjust based on actual header height */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 0.8em;
    color: #2c3e50; /* Dark blue-grey */
}

p {
    margin-bottom: 1em;
    color: #555;
}

a {
    text-decoration: none;
    color: #3498db; /* Primary blue */
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9; /* Darker blue */
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.5em;
}

code {
    background-color: #eee;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-family: monospace;
}

/* Header */
header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: #3498db; /* Primary blue */
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #2980b9; /* Darker blue */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); /* Added subtle shadow on hover */
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4facfe, #00f2fe); /* Adjusted gradient angle */
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5em;
    color: #2c3e50; /* Changed from white for contrast */
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5em auto;
    color: #2c3e50; /* Changed from white for contrast */
}

.hero .hero-cta {
    font-size: 1.1rem;
    padding: 12px 30px;
    background-color: #fff;
    color: #2980b9; /* Darker blue for better contrast */
}

.hero .hero-cta:hover {
    background-color: #eee;
    color: #2980b9; /* Keep hover color */
}

/* Features Section */
.features {
    padding: 5rem 0; /* Increased padding slightly */
    text-align: center;
}

.features h2 {
    font-size: 2.2rem;
    margin-bottom: 2em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: left;
}

.feature-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); /* Increased hover shadow */
}

.feature-item i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 0.8em;
    display: block;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5em;
}

/* Wrapper for text content sections */
.text-content-wrapper {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
    max-width: 800px; /* Constrain width */
    margin-left: auto; /* Center the wrapper */
    margin-right: auto; /* Center the wrapper */
}

/* AI Context Section */
.ai-context {
    background-color: #f9f9f9; /* Match body background */
    padding: 5rem 0; /* Consistent padding */
    text-align: center;
}

.ai-context h2 {
    font-size: 2rem;
    margin-bottom: 1.5em;
    text-align: center; /* Keep heading centered */
}

.ai-context p {
    max-width: none; /* Remove previous max-width */
    margin-left: 0; /* Reset margin */
    margin-right: 0; /* Reset margin */
    text-align: left; /* Left-align paragraphs */
    font-size: 1.05rem;
    color: #444;
}

.ai-context strong {
    color: #3498db;
}

/* Pricing Section */
.pricing {
    background-color: #f9f9f9; /* Match body background */
    padding: 5rem 0; /* Consistent padding */
    text-align: center;
}

.pricing h2 {
    font-size: 2rem;
    margin-bottom: 1.5em;
    text-align: center; /* Keep heading centered */
}

.pricing p {
    max-width: none; /* Remove previous max-width */
    margin-left: 0; /* Reset margin */
    margin-right: 0; /* Reset margin */
    text-align: left; /* Left-align paragraphs */
    font-size: 1.05rem;
    color: #444;
}

.pricing strong {
    font-weight: 600;
    color: #333;
}

/* Download/Install Section */
.download-install {
    background-color: #eaf6ff;
    padding: 5rem 0; /* Consistent padding */
    text-align: center;
}

.download-install h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2em;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: start;
}

.step {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step h3 {
    font-size: 1.4rem;
    margin-bottom: 1em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5em;
    display: inline-block;
}

.step ul {
    padding-left: 1.2em;
    list-style: disc;
}

.download-button {
    display: block;
    text-align: center;
    margin: 1.5em 0 0.5em 0;
}

.download-install small {
    display: block;
    text-align: center;
    font-size: 0.85em;
    color: #777;
}

/* Footer */
footer {
    background-color: #2c3e50; /* Dark blue-grey */
    color: #ecf0f1; /* Light grey */
    text-align: center;
    padding: 2rem 0; /* Increased padding */
    margin-top: 5rem; /* Consistent spacing */
    border-top: 1px solid #3e5771; /* Subtle top border */
}

footer p {
    margin-bottom: 0;
    color: #bdc3c7; /* Lighter grey */
}

footer a {
    color: #9ecae1; /* Lighter blue for footer link */
    text-decoration: underline;
    text-decoration-color: transparent; /* Hide underline initially */
    transition: text-decoration-color 0.3s ease;
}

footer a:hover {
    color: #fff; /* Brighter on hover */
    text-decoration-color: #fff; /* Show underline on hover */
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    header nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 0.5em;
    }
}
