/* Integration Pages Specific Styles - Modern App Store Design */

/* Apply register page container margins to all integration pages - EXACT MATCH */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg) !important;
}

/* Override any other container definitions to match register page exactly */
.integration-hero .container,
.overview-grid .container,
.features-section .container,
.secondary-section .container,
.integrations-grid .container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg) !important;
}

/* Hero Section - Clean & Minimal */
.integration-hero {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.integration-hero-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.integration-hero-content h1 {
    margin: 0 0 1rem 0;
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.integration-hero-content .hero-subtitle {
    margin: 0 0 2rem 0;
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.7;
    font-weight: 400;
    max-width: 600px;
}

/* Breadcrumb Styling */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Overview Grid - Modern Layout */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.overview-content {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.overview-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    letter-spacing: -0.025em;
}

.overview-content > p {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 700px;
}

.overview-benefits {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-top: 2rem;
}

.overview-benefits h3 {
    color: #0f172a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.benefit-list li:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.benefit-list i {
    color: #059669;
    margin-top: 0.125rem;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Feature Tags - Modern Pills */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.feature-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.feature-tag:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

/* Integration Stats - Clean Numbers */
.integration-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.025em;
}

.stat p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features Grid Enhancements */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: white;
    font-size: 1.25rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

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

/* Setup Steps Enhancement */
.setup-steps {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.setup-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.setup-step:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
}

/* Pricing Highlights */
.pricing-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.pricing-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pricing-highlight h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.pricing-highlight p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

.pricing-note {
    font-size: 0.75rem;
    color: #64748b;
    font-style: italic;
    margin-top: 1rem;
    text-align: center;
}

/* Integration Cards - App Store Style */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.integration-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #e2e8f0;
}

.integration-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.integration-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.integration-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.025em;
}

.integration-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.integration-features {
    margin-bottom: 1.5rem;
}

.integration-card .feature-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.integration-card .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.integration-card .btn:hover {
    transform: none;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .integration-hero {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .integration-hero-logo {
        width: 64px;
        height: 64px;
    }
    
    .integration-hero-content h1 {
        font-size: 2rem;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .integration-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-highlights {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.integration-hero,
.overview-grid,
.features-grid,
.setup-steps,
.pricing-highlights {
    animation: fadeInUp 0.6s ease-out;
}

/* See all link styling */
.see-all-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.see-all-link .btn {
    width: 100%;
    justify-content: center;
}

/* Platform Partners Styling */
.partner-badge {
    background: linear-gradient(135deg, var(--volt-secondary) 0%, #f39c12 100%);
    color: var(--volt-black);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.partner-cta {
    background: var(--volt-off-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xxl);
    text-align: center;
    margin-top: var(--spacing-xxl);
}

.partner-cta .cta-content h3 {
    font-size: var(--font-size-xl);
    color: var(--volt-black);
    margin-bottom: var(--spacing-md);
}

.partner-cta .cta-content p {
    font-size: var(--font-size-md);
    color: var(--volt-gray);
    margin-bottom: var(--spacing-lg);
}

.platform-partners {
    background: #f8fafc;
    padding: var(--spacing-xxl) 0;
    margin-top: var(--spacing-xxl);
}
