/* Premium SaaS Hero Styles */
.hero {
    padding: 120px 0 80px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(65, 105, 225, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 480px;
}

.primary-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    padding: 18px 32px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.primary-cta-btn:hover {
    background: linear-gradient(135deg, #4169E1, #8AE05E);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(65, 105, 225, 0.3);
}

.primary-cta-btn i {
    font-size: 20px;
}

/* Product Visual */
.product-visual {
    position: relative;
}

.product-card {
    border: 1px solid #E6E8EA;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    line-height: 0;
}

.preview-content {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-card {
    display: none;
    position: relative;
}

.preview-card.active {
    display: block;
    animation: carouselFade 0.4s ease;
}

@keyframes carouselFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.preview-card picture {
    display: block;
    width: 100%;
}

.preview-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.85);
    color: #333;
    font-size: 20px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s;
    line-height: 1;
}
.carousel-arrow:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.indicator.active {
    background: #4169E1;
    width: 20px;
    border-radius: 4px;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Trust Row */
.trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.trust-item i {
    color: #fbbf24;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.trust-item span {
    color: #475569;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 180px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        order: 1;
    }
    
    .product-visual {
        order: 2;
    }
    
    .product-card {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .trust-row {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .carousel-dots {
        display: none;
    }
    
    .preview-tabs {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.75rem;
    }
    
    .tab-btn {
        max-width: none !important;
        padding: 10px 12px;
        font-size: 0.85rem;
        flex: none !important;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
    }
    
    .primary-cta-btn {
        padding: 16px 28px;
        font-size: 16px;
    }
}

/* Section Styling */
.section-title {
    font-size: clamp(2.25rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

/* Pain Section */
.pain-section {
    padding: 100px 0;
    position: relative;
}

.pain-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pain-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pain-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #ef4444, #f87171);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.pain-card p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.pain-microcopy {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.125rem;
    color: #64748b;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Solution Section */
.solution-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.solution-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #4169E1, #8AE05E);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.solution-card h3 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.solution-card p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Product Preview Tabs */
.product-preview {
    padding: 100px 0;
}

.preview-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, #4169E1, #8AE05E);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.preview-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.preview-card {
    display: none;
    text-align: center;
}

.preview-card.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.preview-card img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 1.5rem;
}

.preview-caption {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
