/* Landing Page Styles - Lien-Waiver */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html.landing-page, html.landing-page body {
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    margin: 0;
    padding: 0;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #e5e7eb;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
}

.navbar-logo img {
    height: 36px;
    width: auto;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-links {
    display: flex;
    gap: 32px;
}

.navbar-link {
    color: #4b5563;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.navbar-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #374151;
}

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

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-large {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 60px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin: 0 0 24px 0;
}

.hero-title span {
    color: #2563eb;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0 0 32px 0;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Hero Demo */
.hero-demo-wrapper {
    margin-top: 60px;
    padding: 0 20px;
}

.hero-demo {
    max-width: 700px;
    margin: 0 auto;
    background: #1f2937;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-demo-header {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    background: #111827;
}

.hero-demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-demo-dot.red { background: #ef4444; }
.hero-demo-dot.yellow { background: #eab308; }
.hero-demo-dot.green { background: #22c55e; }

.hero-demo-content {
    padding: 24px;
    min-height: 300px;
    max-height: 350px;
    overflow-y: auto;
}

/* Chat Demo Styles */
.chat-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.chat-avatar.user {
    background: #6b7280;
}

.chat-bubble {
    background: #374151;
    color: white;
    padding: 12px 16px;
    border-radius: 16px;
    border-top-left-radius: 4px;
    max-width: 80%;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-message.user .chat-bubble {
    background: #2563eb;
    border-top-left-radius: 16px;
    border-top-right-radius: 4px;
}

/* Logos Section */
.logos-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.logos-label {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 32px;
}

.integrations-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.integration-logo {
    opacity: 0.6;
    transition: opacity 0.2s;
}

.integration-logo:hover {
    opacity: 1;
}

.integration-logo img,
.integration-logo svg {
    height: 40px;
    width: auto;
}

/* Feature Sections */
.feature-section {
    padding: 100px 0;
}

.feature-section.alt {
    background: #f8fafc;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0 0 28px 0;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #374151;
    font-size: 1rem;
}

.feature-list li i {
    color: #2563eb;
    font-size: 1.1rem;
}

.feature-visual {
    position: relative;
}

.feature-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card-grid .mini-card:first-child {
    grid-column: span 2;
}

.mini-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s;
}

.mini-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.mini-card-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.1rem;
}

.mini-card h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.mini-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    background: #1f2937;
}

.how-it-works .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.how-it-works .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
}

.how-it-works .section-description {
    font-size: 1.1rem;
    color: #9ca3af;
    margin: 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-item {
    text-align: center;
    padding: 32px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 24px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 12px 0;
}

.step-description {
    font-size: 1rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-section .section-label {
    color: #2563eb;
}

.pricing-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 16px 0;
}

.pricing-section .section-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

.pricing-card:hover {
    border-color: #9ca3af;
}

.pricing-card.active {
    border-color: #2563eb;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    transform: scale(1.02);
}

.pricing-card.active .pricing-btn.btn-secondary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.pricing-card.active .pricing-btn.btn-secondary:hover {
    background: #1d4ed8;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.pricing-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 24px 0;
}

.pricing-price {
    margin-bottom: 28px;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
}

.pricing-period {
    font-size: 1rem;
    color: #6b7280;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #374151;
    font-size: 0.95rem;
}

.pricing-features li i {
    color: #2563eb;
}

.pricing-btn {
    width: 100%;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-section .section-label {
    color: #2563eb;
}

.faq-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: color 0.2s;
}

.faq-question:hover {
    color: #2563eb;
}

.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 16px 0;
}

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px 0;
}

.cta-buttons .btn-primary {
    background: white;
    color: #2563eb;
}

.cta-buttons .btn-primary:hover {
    background: #f8fafc;
}

/* Footer */
.footer {
    background: #111827;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .navbar-logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.footer-column h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: white;
}

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

    .feature-row.reverse {
        direction: ltr;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .navbar-links,
    .navbar-cta {
        display: none;
    }

    .navbar-right.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .navbar-right.active .navbar-links,
    .navbar-right.active .navbar-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .navbar-right.active .navbar-link {
        padding: 12px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .navbar-toggle {
        display: block;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .section-title {
        font-size: 2rem !important;
    }

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

    .feature-card-grid {
        grid-template-columns: 1fr;
    }

    .feature-card-grid .mini-card:first-child {
        grid-column: span 1;
    }

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

    .footer-brand {
        grid-column: span 1;
    }

    .footer-brand .navbar-logo {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .integrations-logos {
        gap: 24px;
    }

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

/* Scrollbar for demo */
.hero-demo-content::-webkit-scrollbar {
    width: 6px;
}

.hero-demo-content::-webkit-scrollbar-track {
    background: #374151;
}

.hero-demo-content::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

/* Animation helper */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message {
    animation: fadeInUp 0.3s ease;
}
