/* ============================================
   Landing Page Styles - Matching Case Studies Design
   ============================================ */

/* Page Header */
.lp-header {
    background: linear-gradient(180deg, #0a0f1a 0%, #111827 100%);
    padding: 100px 24px 60px;
}

.lp-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}

.lp-header-content {
    max-width: 800px;
}

@media (max-width: 900px) {
    .lp-header-container {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #106af3;
}

.lp-label {
    display: inline-block;
    background: rgba(16, 106, 243, 0.15);
    color: #106af3;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.lp-headline {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.lp-subhead {
    font-size: clamp(16px, 2vw, 20px);
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 650px;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.lp-hero-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.trust-icon {
    color: #22c55e;
}

/* Main Layout with Sidebar */
.lp-main {
    background: #0a0f1a;
    padding: 60px 24px 80px;
}

.lp-main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
}

.lp-content {
    max-width: 800px;
}

/* Sidebar */
.lp-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #1f2937 100%);
    border: 1px solid rgba(16, 106, 243, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar-cta h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.sidebar-cta p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* B2B Sidebar Form */
.sidebar-cta-b2b .sidebar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-form input,
.sidebar-form textarea,
.sidebar-form select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.sidebar-form select option {
    background: #1a1a2e;
    color: #ffffff;
}

.sidebar-form textarea {
    resize: vertical;
    min-height: 70px;
}

.sidebar-form input:focus,
.sidebar-form textarea:focus,
.sidebar-form select:focus {
    outline: none;
    border-color: #106af3;
}

.sidebar-form input::placeholder,
.sidebar-form textarea::placeholder {
    color: #6b7280;
}

.sidebar-form .ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
}

.sidebar-form button {
    width: 100%;
    padding: 12px;
    margin-top: 4px;
}

.sidebar-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.form-message:not(:empty) {
    display: block;
}

.form-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* B2B Mobile CTA */
.lp-mobile-cta-b2b {
    text-align: center;
}

.lp-mobile-cta-b2b .btn {
    display: inline-block;
    width: auto;
    padding: 12px 32px;
}

.cta-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* App Store Buttons */
.app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-store-buttons.horizontal {
    flex-direction: row;
    justify-content: center;
}

.app-store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #000000;
    border: 1px solid #374151;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s ease;
}

.app-store-btn:hover {
    background: #1f2937;
    border-color: #4b5563;
}

.app-store-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.app-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-store-label {
    font-size: 10px;
    color: #9ca3af;
}

.app-store-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Sections */
.lp-section {
    margin-bottom: 56px;
}

.lp-section:last-child {
    margin-bottom: 0;
}

.lp-section-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1f2937;
}

.lp-section-subtitle {
    font-size: 16px;
    color: #9ca3af;
    margin-bottom: 24px;
}

/* 2x2 Grid for Cards */
.lp-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Cards */
.lp-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.lp-card:hover {
    border-color: #374151;
}

.lp-card-icon {
    width: 44px;
    height: 44px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.lp-card-icon svg {
    width: 22px;
    height: 22px;
    color: #f87171;
}

.lp-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.lp-card-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* Solution Cards - Green accent */
.lp-section-solution .lp-card-icon {
    background: rgba(34, 197, 94, 0.1);
}

.lp-section-solution .lp-card-icon svg {
    color: #4ade80;
}

/* How It Works - Steps */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-step {
    text-align: center;
    padding: 20px;
}

.lp-step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #106af3 0%, #0c52c2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 16px;
}

.lp-step-title {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.lp-step-description {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
}

/* Case Studies Grid */
.lp-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.lp-case-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.lp-case-card:hover {
    border-color: #106af3;
}

.lp-case-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.lp-case-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.lp-case-badge-outcome {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.lp-case-badge-prevented {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.lp-case-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.4;
}

.lp-case-summary {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-cases-more {
    text-align: left;
}

.lp-cases-empty {
    text-align: center;
    padding: 32px;
    color: #6b7280;
    background: #111827;
    border-radius: 12px;
    grid-column: 1 / -1;
}

/* FAQ Section */
.lp-faq-list {
    border-top: 1px solid #1f2937;
}

.lp-faq-item {
    border-bottom: 1px solid #1f2937;
}

.lp-faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    padding: 20px 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.lp-faq-question::after {
    content: '+';
    font-size: 20px;
    color: #6b7280;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.lp-faq-item.open .lp-faq-question::after {
    transform: rotate(45deg);
}

.lp-faq-answer {
    font-size: 15px;
    color: #9ca3af;
    line-height: 1.7;
    padding-bottom: 20px;
    display: none;
}

.lp-faq-item.open .lp-faq-answer {
    display: block;
}

/* Bottom CTA Section */
.lp-bottom-cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #0a0f1a 100%);
    text-align: center;
    padding: 80px 24px;
    margin-top: 60px;
}

.lp-bottom-cta .lp-container {
    max-width: 700px;
    margin: 0 auto;
}

.lp-cta-headline {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.lp-cta-subhead {
    font-size: 17px;
    color: #9ca3af;
    margin-bottom: 32px;
    line-height: 1.6;
}

.lp-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* B2B Contact Form */
.lp-contact-form {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 28px;
}

.lp-contact-form input,
.lp-contact-form textarea {
    width: 100%;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 14px;
}

.lp-contact-form input::placeholder,
.lp-contact-form textarea::placeholder {
    color: #6b7280;
}

.lp-contact-form input:focus,
.lp-contact-form textarea:focus {
    outline: none;
    border-color: #106af3;
}

.lp-contact-form button {
    width: 100%;
    background: #106af3;
    color: #ffffff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lp-contact-form button:hover {
    background: #0c52c2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: #106af3;
    color: #ffffff;
    border: none;
}

.btn-primary:hover {
    background: #0c52c2;
}

.btn-outline {
    background: transparent;
    color: #106af3;
    border: 1px solid #106af3;
}

.btn-outline:hover {
    background: rgba(16, 106, 243, 0.1);
}

/* Mobile Sidebar CTA (shows on mobile only) */
.lp-mobile-cta {
    display: none;
    background: linear-gradient(135deg, #1e3a5f 0%, #1f2937 100%);
    border: 1px solid rgba(16, 106, 243, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    text-align: center;
}

.lp-mobile-cta h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.lp-mobile-cta p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
    .lp-main-container {
        grid-template-columns: 1fr;
    }
    
    .lp-sidebar {
        display: none;
    }
    
    .lp-mobile-cta {
        display: block;
    }
    
    .lp-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .lp-header {
        padding: 90px 16px 48px;
    }
    
    .lp-main {
        padding: 40px 16px 60px;
    }
    
    .lp-grid-2x2,
    .lp-steps,
    .lp-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .lp-hero-cta {
        flex-direction: column;
    }
    
    .lp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-buttons.horizontal {
        flex-direction: column;
    }
    
    .app-store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    .lp-bottom-cta {
        padding: 60px 16px;
    }
}
