:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --success: #10b981;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-accent: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-sm: 8px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

.header {
    background: var(--text-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    color: var(--text-main);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--text-white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-content .tagline {
    font-size: 18px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white) !important;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(79, 70, 229, 0.05);
}

.hero-trust {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-compatibility {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.hero-compatibility a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.hero-compatibility a:hover {
    color: var(--primary-hover);
    border-bottom-color: var(--primary-hover);
}

.hero-image {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: var(--shadow);
}

.hero-image img,
.hero-image svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Benefits Section */
.benefits {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 0 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 36px;
}

.benefit-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.benefit-icon {
    font-size: 32px;
    margin-bottom: 20px;
    display: inline-block;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 48px 20px;
    margin-top: 36px;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-number {
    background: var(--primary);
    color: var(--text-white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 20px;
}

.feature-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-content p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 0 20px 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.stars {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.author-role {
    font-size: 12px;
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-number {
    background: var(--primary);
    color: var(--text-white);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    font-family: var(--font-heading);
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.step-optional {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--success);
    margin-left: 8px;
}

.step-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.step-image-wrapper {
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.step-image-wrapper:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.step-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-image-label {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

.step-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    width: fit-content;
}

/* Modal for enlarged images */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    background: var(--text-white);
    border-radius: var(--radius);
    overflow: auto;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-hover);
}

/* CTA Section */
.cta-section {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    padding: 60px 40px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-white);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-white {
    background: var(--text-white);
    color: var(--primary);
    padding: 14px 40px;
}

.btn-white:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 12px 16px -2px rgba(0, 0, 0, 0.2);
}

/* Lead Form */
.lead-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 100%;
    box-shadow: var(--shadow);
}

.lead-form h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    background: var(--bg-card);
    color: var(--text-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.form-submit {
    background: var(--primary);
    color: var(--text-white);
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.form-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.form-notice {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 16px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--text-main);
    color: var(--text-white);
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 36px 20px 32px;
        gap: 28px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .benefits-grid,
    .feature-list,
    .testimonials-grid,
    .steps-container,
    .cta-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .nav-links {
        display: none;
    }
}

/* Form Messages */
.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
    display: none;
}
.form-message--success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.form-message--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Custom helper classes to avoid inline styles (CSS/JS Separation rules) */
.step-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

#modalImage {
    padding: 20px;
}

.modal-enlarged-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
    margin: 0 auto;
}
