/* Landing page specific styles */

.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Hero section - Split layout */
.hero-section {
    min-height: 600px;
    padding: 4rem 0 5rem;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-pill {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
}

.hero-h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: white;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: #5b4caf;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid white;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.hero-micro {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
}

.stat-icon {
    font-size: 1rem;
}

.stat-num {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Right side - App window mockup */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-window {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.app-titlebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f5f5f7;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e5e7;
}

.app-dots {
    display: flex;
    gap: 0.5rem;
}

.app-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.app-dots span:nth-child(1) { background: #ff5f57; }
.app-dots span:nth-child(2) { background: #ffbd2e; }
.app-dots span:nth-child(3) { background: #28c840; }

.app-title-text {
    font-size: 0.8125rem;
    color: #666;
    font-weight: 500;
}

.app-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 1rem;
}

.app-tab {
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.app-tab:hover {
    color: #374151;
}

.app-tab--active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 500;
}

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.feed-count {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
}

.feed-filter {
    display: flex;
    gap: 0.5rem;
}

.feed-filter span {
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.feed-filter span button {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1;
    padding: 0;
    margin-left: 0.25rem;
}

.listing-row {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    gap: 0.75rem;
    transition: background 0.15s ease;
}

.listing-row:hover {
    background: #f9fafb;
}

.listing-row--new {
    background: #fefce8;
}

.listing-row--new:hover {
    background: #fef9c3;
}

.listing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.listing-dot--live {
    background: #22c55e;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
    }
}

.listing-info {
    flex: 1;
    min-width: 0;
}

.listing-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.listing-meta {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.listing-btn {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

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

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

.listing-btn--outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.listing-btn--outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.slack-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.slack-strip-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.slack-strip-left img {
    width: 18px;
    height: 18px;
}

.slack-delivered {
    font-size: 0.8125rem;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.integrations-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.integrations-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.7);
}

.integrations-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.int-tag {
    background: rgba(255, 255, 255, 0.95);
    color: #374151;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Responsive - Stack on mobile */
@media (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-left {
        align-items: center;
    }

    .hero-pill {
        align-self: center;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-right {
        display: none;
    }

    .integrations-row {
        display: none;
    }
}

/* Value proposition icons */
.value-prop-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgb(219 234 254);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(37 99 235);
    font-size: 2rem;
    margin: 0 auto 1rem;
}

/* Feature preview placeholder */
.feature-preview {
    background-color: rgb(229 231 235);
    border-radius: 0.5rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(107 114 128);
}

/* Carousel styles */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex-shrink: 0;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel navigation arrows - responsive positioning */
@media (max-width: 768px) {
    .carousel-container + button,
    .carousel-container ~ button {
        transform: translateY(-50%) translateX(0) !important;
    }
}

/* Lightbox styles */
#lightbox {
    backdrop-filter: blur(4px);
}

#lightbox img {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 0.5rem;
}

/* Carousel dot active state */
.carousel-dot.active {
    background-color: rgb(37 99 235);
}

/* Smooth image loading */
.carousel-slide img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.carousel-slide img[src=""] {
    opacity: 0;
}

/* Pricing card */
.pricing-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* B2B Landing Page - Pulsing badge dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.pulse-dot {
    animation: pulse-dot 2s infinite;
}

/* Feature card hover effect */
.feature-card-b2b {
    transition: all 0.3s ease;
}

.feature-card-b2b:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.04);
}

/* Lead type card hover effect */
.lead-card {
    transition: all 0.2s ease;
}

.lead-card:hover {
    transform: scale(1.02);
}

/* Timeline vertical line */
.timeline-line::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: #e5e7eb;
}
