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

:root {
    --primary-green: #00d47e;
    --primary-green-hover: #00c06b;
    --dark-teal: #102830;
    --dark-teal-light: #024751;
    --light-bg: #f7fbfe;
    --white: #ffffff;
    --text-dark: #102830;
    --text-gray: #64748b;
    --error-red: #dc2626;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    text-align: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-teal) 0%, var(--dark-teal-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero .container {
    max-width: 800px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-green);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    gap: 10px;
}

.btn:hover {
    background-color: var(--primary-green-hover);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-large {
    padding: 20px 56px;
    font-size: 1.25rem;
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-teal);
    letter-spacing: -1px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.step:hover {
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-teal);
}

.step-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* What You'll Learn Section */
.what-you-learn {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-teal);
}

.benefit-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Lead Capture Form Section */
.lead-form-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.form-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.form-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.lead-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-grid .form-group {
    min-width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-group .optional {
    font-weight: 400;
    color: var(--text-gray);
}

.form-input,
.form-select {
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 212, 126, 0.1);
}

.form-input::placeholder {
    color: var(--text-gray);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-gray);
    margin-top: 16px;
}

.note-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.note-link:hover {
    text-decoration: underline;
}

.error-message {
    display: block;
    font-size: 0.875rem;
    color: var(--error-red);
    margin-top: 6px;
    min-height: 1.25rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.success-message-text {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Trust Section */
.trust-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.trust-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trust-item {
    text-align: center;
}

.trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-teal);
}

.trust-text {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--dark-teal);
    color: rgba(255, 255, 255, 0.8);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

/* Responsive Design */
@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-group.full-width {
        grid-column: span 2;
    }

    .form-group.optional {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

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

    .form-wrapper {
        padding: 60px 80px;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 1.5rem;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .trust-content {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Form Validation States */
.form-input.invalid,
.form-select.invalid {
    border-color: var(--error-red);
}

.form-input.invalid:focus,
.form-select.invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Loading State */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}