/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header & Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem;
    border-radius: 50%;
    font-size: 0.875rem;
}

/* Lead Form */
.lead-form-container {
    display: flex;
    justify-content: center;
}

.form-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.progress-bar {
    background: #e5e7eb;
    height: 4px;
    border-radius: 2px;
    margin: 1rem 0 0.5rem;
    overflow: hidden;
}

.progress-fill {
    background: #2563eb;
    height: 100%;
    width: 20%;
    transition: width 0.3s ease;
}

.step-counter {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Form Questions */
.question {
    display: none;
}

.question.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    text-align: center;
}

.question input[type="text"],
.question input[type="email"],
.question input[type="tel"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

.question input:focus {
    outline: none;
    border-color: #2563eb;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #2563eb;
    background: #eff6ff;
}

.option input[type="radio"] {
    margin-right: 0.75rem;
    accent-color: #2563eb;
}

.option span {
    font-weight: 500;
    color: #374151;
}

.contact-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-inputs input:nth-child(3),
.contact-inputs input:nth-child(4) {
    grid-column: 1 / -1;
}

.btn-next,
.btn-submit,
.btn-back {
    width: 100%;
    padding: 0.875rem 2rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-next:hover,
.btn-submit:hover {
    background: #1d4ed8;
}

.btn-back {
    background: #6b7280;
    margin-top: 1rem;
    width: auto;
}

.btn-back:hover {
    background: #4b5563;
}

.privacy-note {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.5rem;
}

.privacy-note a {
    color: #2563eb;
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: #f9fafb;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #2563eb;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-posts {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.blog-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Individual Blog Post */
.blog-post {
    padding: 2rem 0 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.blog-post-meta {
    color: #6b7280;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.blog-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.blog-post h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #1f2937;
}

.blog-post p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

.blog-post ul, .blog-post ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #4b5563;
}

.blog-post li {
    margin-bottom: 0.5rem;
}

/* About, Terms, Contact Pages */
.page-hero {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: #1f2937;
}

.page-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: #1f2937;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4b5563;
}

.page-content ul, .page-content ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #4b5563;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1f2937;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

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

    .benefits h2 {
        font-size: 2rem;
    }

    .contact-inputs {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .form-card {
        padding: 1.5rem;
    }

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