/* Landing Page Styles - Optimized for Lead Generation */

/* Hero Section - Two Column Layout */
.hero--landing {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero--landing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>') no-repeat center bottom;
    background-size: cover;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero__content {
    padding-right: 40px;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
    font-weight: 300;
}

.hero__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.stat__number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.stat__label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Form Card */
.hero__form {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.form-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-card__title {
    font-size: 1.8rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.form-card__subtitle {
    color: #718096;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form__field {
    display: flex;
    flex-direction: column;
}

.form__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.form__privacy {
    font-size: 0.8rem;
    color: #718096;
    text-align: center;
    margin-top: 1rem;
}

/* Problem Section */
.problem {
    padding: 80px 0;
    background: #f7fafc;
}

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

.problem__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.problem__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem__text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

/* Timeline Visual */
.timeline {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.timeline__item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    border-left: 4px solid #667eea;
}

.timeline__item--obsolete {
    border-left-color: #e53e3e;
    background: #fed7d7;
}

.timeline__item--obsolete::before {
    content: '⚠️';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background: #e53e3e;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.timeline__month {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.timeline__description {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Solution Section */
.solution {
    padding: 80px 0;
    background: white;
}

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

.solution__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

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

.solution__card {
    background: #f7fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.solution__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.solution__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.solution__card-description {
    color: #4a5568;
    line-height: 1.6;
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    background: #2d3748;
    color: white;
}

.social-proof__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.social-proof__title {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.social-proof__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-proof__logo {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.2);
}

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

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: #f7fafc;
}

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

.testimonials__title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-weight: 700;
}

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

.testimonial {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.testimonial__content p {
    font-style: italic;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial__author {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.testimonial__name {
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.testimonial__position,
.testimonial__company {
    color: #718096;
    font-size: 0.9rem;
}

/* CTA Section */
.cta--landing {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta__description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta__feature {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 600;
}

.btn--large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Sticky Form for Mobile */
.sticky-form {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.sticky-form__trigger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.sticky-form__trigger:hover {
    transform: scale(1.05);
}

.sticky-form__content {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 300px;
}

/* Header Styles for Landing */
.header--landing {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__content {
        padding-right: 0;
        text-align: center;
    }

    .hero__form {
        position: static;
    }

    .problem__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

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

    .solution__grid,
    .testimonials__grid {
        grid-template-columns: 1fr;
    }

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

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

    /* Show sticky form on mobile */
    .sticky-form {
        display: block;
    }

    .hero__form {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero--landing {
        padding: 40px 0;
    }

    .hero__title {
        font-size: 2rem;
    }

    .social-proof__logos {
        grid-template-columns: 1fr;
    }

    .stat {
        padding: 1rem;
    }

    .stat__number {
        font-size: 2rem;
    }
}

/* Form Validation Styles */
.form__field.error .form__input,
.form__field.error .form__select,
.form__field.error .form__textarea {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.form__field.success .form__input,
.form__field.success .form__select,
.form__field.success .form__textarea {
    border-color: #48bb78;
    box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.1);
}

/* Loading State */
.form__submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.form__submit.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .solution__card,
    .form__submit,
    .sticky-form__trigger {
        transition: none;
    }

    .form__submit.loading::after {
        animation: none;
    }
}

/* Focus Styles */
.form__input:focus,
.form__select:focus,
.form__textarea:focus,
.btn:focus,
.sticky-form__trigger:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero--landing,
    .cta--landing {
        background: white !important;
        color: black !important;
    }

    .form-card,
    .sticky-form {
        display: none !important;
    }
}
