/* Basic Reset & Typography */
:root {
    --primary-color: #f7931a; /* Gold accent */
    --dark-bg: #1a1a2e; /* Dark navy/charcoal */
    --secondary-bg: #0f0f1d; /* Even darker background for contrast */
    --text-color: #e0e0e0; /* Light grey text */
    --light-text: #ffffff; /* White text for contrast */
    --border-color: #33334d;
    --card-bg: #22223d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

h1, h2, h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e6840d; /* Slightly darker gold */
    transform: translateY(-2px);
    text-decoration: none;
}

/* Sections */
.section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #c0c0c0;
}

/* Hero Section */
.hero {
    background: var(--secondary-bg);
    color: var(--light-text);
    padding: 6rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(247, 147, 26, 0.1) 0%, rgba(26, 26, 46, 0) 70%);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(247, 147, 26, 0.5);
}

.hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.hero .btn {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
}

/* Cards & Grids */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.8rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

.grid-2, .grid-3 {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

/* Problem Section */
.problem-section .card h3 {
    color: var(--light-text);
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.step-card .step-number {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 15px rgba(247, 147, 26, 0.5);
}

.step-card h3 {
    color: var(--light-text);
    margin-bottom: 0.8rem;
}

/* Social Proof Section */
.social-proof-section {
    background-color: var(--secondary-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #c0c0c0;
}

.testimonial-card span {
    display: block;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
}

.stats {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.stats h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.stats p {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Guarantee Section */
.guarantee-section {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    text-align: center;
    padding: 3rem 0;
}

.guarantee-section h2 {
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.guarantee-section h2::after {
    background: var(--dark-bg);
}

.guarantee-section p {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Lead Form Section */
.lead-form-section {
    background-color: var(--dark-bg);
}

#agentbolt-form {
    max-width: 600px;
    margin: 2rem auto 0;
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: bold;
    color: var(--light-text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.3);
}

.form-group select option {
    background-color: var(--secondary-bg);
    color: var(--text-color);
}

#agentbolt-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.form-message {
    text-align: center;
    margin-top: 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
}

.form-message.success {
    color: #4CAF50; /* Green for success */
}

.form-message.error {
    color: #f44336; /* Red for error */
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-bg);
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 1rem;
    margin-bottom: 0;
    color: #c0c0c0;
    display: none; /* Hidden by default */
}

.faq-item.active p {
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary-bg);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design (Mobile-first) */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 8rem 0;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero .subtitle {
        font-size: 1.5rem;
    }

    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-item h3 {
        font-size: 1.3rem;
    }

    .form-group input, .form-group select {
        padding: 1.1rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero .subtitle {
        font-size: 1.7rem;
    }
}
