/* General Body & Typography */
:root {
    --primary-blue: #007bff;
    --secondary-blue: #66b3ff;
    --accent-green: #28a745;
    --text-dark: #343a40;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-blue-gradient: linear-gradient(135deg, #007bff 0%, #66b3ff 100%);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 25px; /* Added horizontal padding */
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.2em; margin-bottom: 10px; }
h2 { font-size: 2.2em; margin-bottom: 25px; color: var(--text-dark); text-align: center;}
h3 { font-size: 1.6em; margin-bottom: 15px; }

p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 1em;
}

.subtitle {
    font-size: 1.4em;
    font-weight: 400;
    color: white;
    margin-bottom: 30px;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
    color: var(--text-light);
}

.text-center { text-align: center; }

/* Buttons */
.button, .primary-button {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.button:hover, .primary-button:hover {
    background-color: #218838; /* Darker green */
    transform: translateY(-2px);
}

.hero-button {
    font-size: 1.3em;
    padding: 16px 40px;
    margin-top: 20px;
}


/* Header */
header {
    background: var(--bg-blue-gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

header h1 {
    margin: 0;
    font-size: 4em;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Sections */
.section-padded {
    padding: 80px 0;
}

.bg-light-blue {
    background-color: #e0f2ff; /* A very light blue */
}

/* Card Styling */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 35px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 300px; /* Allows cards to wrap nicely */
    max-width: 32%; /* Ensure spacing */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card h3 {
    margin-top: 15px;
    color: var(--primary-blue);
    font-size: 1.4em;
}

.card .icon {
    font-size: 3.5em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.card p {
    font-size: 1em;
    color: var(--text-light);
}

/* Hidden elements */
.hidden {
    display: none;
}

/* Troubleshooting Guide */
#troubleshooting-guide {
    background-color: white;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-top: 30px;
}

#troubleshooting-guide h2 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 30px;
}

.step {
    background-color: var(--bg-light);
    border-left: 6px solid var(--primary-blue);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.step:hover {
    background-color: #f0f8ff; /* Lighter shade on hover */
}

.step h4 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-light);
    font-size: 1em;
}

/* How It Works Section */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item .feature-icon {
    font-size: 3em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3em;
    margin-top: 0;
}

/* FAQ Section */
#faq {
    margin-top: 60px;
}

.faq-item {
    background-color: white;
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-item:hover {
    background-color: #fdfdfd;
}

.faq-item h3 {
    margin: 0;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
}

.faq-toggle-icon {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: 15px;
    color: var(--text-light);
    font-size: 1em;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: var(--text-dark);
    color: white;
    font-size: 0.9em;
    margin-top: 60px;
}

footer p {
    color: #bbb;
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-blue);
}


/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.3em; }

    .subtitle { font-size: 1.2em; }
    .section-description { font-size: 1em; }

    header {
        padding: 60px 0;
    }

    .section-padded {
        padding: 50px 0;
    }

    .card {
        flex: 1 1 100%; /* Stack cards on small screens */
        max-width: 100%;
    }

    #troubleshooting-guide {
        padding: 30px;
    }

    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.6em; }
    .hero-button {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}